养成:升星、训练、淬火、精炼的一键消耗不每次更新&推送

This commit is contained in:
luying
2021-08-28 18:12:23 +08:00
parent ef753dec44
commit cca991367d
4 changed files with 54 additions and 30 deletions
@@ -32,7 +32,7 @@ export class RoleHandler {
}
async initRole(msg: { roleName: string }, session: BackendSession) {
console.log('******** initRole start', Date.now());
let roleId = session.get('roleId');
let serverId = session.get('serverId');
let sid: string = session.get('sid');
@@ -71,6 +71,7 @@ export class RoleHandler {
await checkPvp(calResult.role);
console.log('******** initRole end', Date.now());
return resResult(STATUS.SUCCESS, {
roleId, roleName, heroes: calResult.heros
})