Explorar o código

Merge branch 'feature/v1.1.32_ws' of BaseService/jyMicroservices into feature/v1.1.32

wangshan hai 1 ano
pai
achega
ba2d658ef9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jyBXBase/rpc/model/newestBidding.go

+ 1 - 1
jyBXBase/rpc/model/newestBidding.go

@@ -395,7 +395,7 @@ func ExtendNewListCache(n *NewSet, in *bxbase.NewestBiddingReq, list []*bxbase.N
 				entity.ReqLimitLock.Unlock()
 				if !isDoing {
 					entity.ReqLimitLock.Lock()
-					redis.Put("new", fmt.Sprintf("p1_indexMessage_new_recovery_%d", in.PositionId), "1", 15*time.Now().Minute()) //十五分钟
+					redis.Put("new", fmt.Sprintf("p1_indexMessage_new_recovery_%d", in.PositionId), "1", 15*60) //十五分钟
 					entity.ReqLimitLock.Unlock()
 					switch n.RedisStatus {
 					case StatusLoginUser: