上传商店刷新时间

This commit is contained in:
liwei1dao 2023-12-28 14:11:03 +08:00
parent 32682eb3fc
commit 56effb8640

View File

@ -179,7 +179,7 @@ func (this *apiComp) Getlist(session comm.IUserSession, req *pb.ShopGetListReq)
//重新计算刷新时间点 //重新计算刷新时间点
switch shopconf.Rtype { switch shopconf.Rtype {
case -1: //一百年不刷新 case -1: //一百年不刷新
sdata.LastRefreshTime = -1 sdata.LastRefreshTime = 0
case 1: case 1:
sdata.LastRefreshTime = configure.Now().Add(time.Hour * time.Duration(shopconf.Rtime)).Unix() sdata.LastRefreshTime = configure.Now().Add(time.Hour * time.Duration(shopconf.Rtime)).Unix()
break break