clear:线上版本,删除一些不需要的log
This commit is contained in:
@@ -39,7 +39,7 @@ export class RoleHandler {
|
||||
}
|
||||
|
||||
async initRole(msg: { roleName: string }, session: BackendSession) {
|
||||
console.log('******** initRole start', Date.now());
|
||||
// console.log('******** initRole start', Date.now());
|
||||
let roleId = session.get('roleId');
|
||||
let serverId = session.get('serverId');
|
||||
let sid: string = session.get('sid');
|
||||
@@ -64,7 +64,7 @@ export class RoleHandler {
|
||||
let warInfo = gameData.war.get(battleId);
|
||||
await RScriptRecordModel.setScript(roleId, battleId, warInfo.warType, 2, SCRIPT.SCRIPT_NAME);
|
||||
|
||||
console.log('******** initRole end', Date.now());
|
||||
// console.log('******** initRole end', Date.now());
|
||||
return resResult(STATUS.SUCCESS, {
|
||||
roleId, roleName, heroes
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user