数据校验
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
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for k, v := range _costMaphero {
|
for k, v := range req.Heros {
|
||||||
code = this.module.DelCard(session.GetUserId(), v, mapHero[k])
|
code = this.module.DelCard(session.GetUserId(), _costMaphero[k], v)
|
||||||
if code != pb.ErrorCode_Success {
|
if code != pb.ErrorCode_Success {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user