handleCost方法去掉channelService传参

This commit is contained in:
luying
2020-12-09 14:30:15 +08:00
parent 168e0a8d28
commit dca5ae3d5f
3 changed files with 7 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ export class HeroHandler {
let {id, count} = msg;
let result = await handleCost(this.channelService, roleId, sid, [{id, count}] );
let result = await handleCost(roleId, sid, [{id, count}] );
if(!result) {
return resResult(STATUS.BATTLE_CONSUMES_NOT_ENOUGH);
}