测试:修复合成bug

This commit is contained in:
luying
2021-09-02 21:23:04 +08:00
parent 2609177092
commit 8505b24696
3 changed files with 10 additions and 11 deletions
@@ -99,7 +99,6 @@ export class HeroHandler {
// 武将碎片合成
public async compose(msg: { hid: number }, session: BackendSession) {
try {
let roleId: string = session.get('roleId');
let roleName: string = session.get('roleName');
@@ -124,10 +123,6 @@ export class HeroHandler {
pushComposeOrangeHero(roleId, roleName, serverId, heroes[0]);
return resResult(STATUS.SUCCESS, { curHero: heroes[0] });
}catch(e) {
return resResult(STATUS.WRONG_PARMS, {err: e.stack})
}
}
// 武将升级