测试:修复军团排行榜

This commit is contained in:
luying
2021-09-03 09:37:54 +08:00
parent 4c590c8952
commit efc3776f74
3 changed files with 12 additions and 12 deletions

View File

@@ -30,15 +30,11 @@ export class GachaHandler {
* @memberof GachaHandler
*/
async getGachaList(msg: {}, session: BackendSession) {
try {
const { } = msg;
const roleId: string = session.get('roleId');
const list = await getGachaList(roleId);
return resResult(STATUS.SUCCESS, { list });
}catch(e) {
return resResult(STATUS.WRONG_PARMS, {err:e.stack})
}
const { } = msg;
const roleId: string = session.get('roleId');
const list = await getGachaList(roleId);
return resResult(STATUS.SUCCESS, { list });
}
/**