上传商店装备够吗价格调整
This commit is contained in:
parent
d1ca1a5e94
commit
5a7e972350
@ -158,7 +158,11 @@ func (this *apiComp) Buy(session comm.IUserSession, req *pb.ShopBuyReq) (errdata
|
||||
}
|
||||
return
|
||||
}
|
||||
if equibuyconf, err = this.module.configure.getShopBuyequiCosData(equiconf.InitLv, equi.Lv); err != nil {
|
||||
lv := int32(0)
|
||||
if equi.AdverbEntry != nil {
|
||||
lv = int32(len(equi.AdverbEntry))
|
||||
}
|
||||
if equibuyconf, err = this.module.configure.getShopBuyequiCosData(equiconf.InitLv, lv); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||
|
Loading…
Reference in New Issue
Block a user