数据校验
This commit is contained in:
parent
28dcdb73e1
commit
800d0203d1
@ -63,8 +63,8 @@ func (this *apiComp) Fusion(session comm.IUserSession, req *pb.HeroFusionReq) (c
|
||||
return
|
||||
}
|
||||
}
|
||||
for k, v := range _costMaphero {
|
||||
code = this.module.DelCard(session.GetUserId(), v, mapHero[k])
|
||||
for k, v := range req.Heros {
|
||||
code = this.module.DelCard(session.GetUserId(), _costMaphero[k], v)
|
||||
if code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user