上传武馆的英雄校验
This commit is contained in:
parent
6bbdda1924
commit
3021ae4d93
@ -71,10 +71,9 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.MartialhallPrac
|
||||
return
|
||||
}
|
||||
|
||||
//此处校验hero信息
|
||||
//...
|
||||
|
||||
//...
|
||||
if _, code = this.module.ModuleHero.GetHeroByObjID(session.GetUserId(), req.Hero); code != pb.ErrorCode_Success {
|
||||
return
|
||||
}
|
||||
var sale = make([]*cfg.Gameatn, 0)
|
||||
for _, v := range mdata.Deplete {
|
||||
sale = append(sale, &cfg.Gameatn{
|
||||
|
Loading…
Reference in New Issue
Block a user