clear:线上版本,删除一些不需要的log

This commit is contained in:
luying
2022-06-06 11:37:26 +08:00
parent f82f74aa50
commit 17bcbe7804
12 changed files with 16 additions and 16 deletions

View File

@@ -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
})