上传代码
This commit is contained in:
parent
6a244fe4f5
commit
d3d402fc1e
@ -33,7 +33,7 @@ func (this *apiComp) RefresHeroShop(session comm.IUserSession, req *pb.IsLandRef
|
|||||||
}
|
}
|
||||||
info.Refreshed++
|
info.Refreshed++
|
||||||
pricekey := this.module.ModuleTools.GetGlobalConf().PuggsyBuy
|
pricekey := this.module.ModuleTools.GetGlobalConf().PuggsyBuy
|
||||||
if res, err := this.module.ModuleTools.GetPriceGroupCost(pricekey, info.Refreshed); len(res) > 0 {
|
if res, err := this.module.ModuleTools.GetPriceGroupCost(pricekey, info.Refreshed); err == nil {
|
||||||
need = append(need, res...)
|
need = append(need, res...)
|
||||||
} else {
|
} else {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
|
Loading…
Reference in New Issue
Block a user