上传代码

This commit is contained in:
liwei1dao 2024-02-20 10:47:29 +08:00
parent 6a244fe4f5
commit d3d402fc1e

View File

@ -33,7 +33,7 @@ func (this *apiComp) RefresHeroShop(session comm.IUserSession, req *pb.IsLandRef
}
info.Refreshed++
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...)
} else {
errdata = &pb.ErrorData{