handleCost方法去掉channelService传参
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user