上传商店列表刷新问题
This commit is contained in:
parent
f1fad4f96e
commit
be53d80523
@ -150,6 +150,7 @@ func (this *apiComp) Getlist(session comm.IUserSession, req *pb.ShopGetListReq)
|
||||
if tdata > ltime { //达到刷新时间 可以刷新商品列表
|
||||
isrefresh = true
|
||||
}
|
||||
}
|
||||
if isrefresh {
|
||||
var _items []*cfg.GameShopitemData
|
||||
for _, v := range shopconf.Shopitem {
|
||||
@ -182,8 +183,6 @@ func (this *apiComp) Getlist(session comm.IUserSession, req *pb.ShopGetListReq)
|
||||
}
|
||||
goods = transGoods(items, sdata)
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
code = pb.ErrorCode_ReqParameterError
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user