Explorar o código

fix:supply默认搜索存redis修改

duxin %!s(int64=3) %!d(string=hai) anos
pai
achega
1950626df2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rpc/model/es/es.go

+ 1 - 1
rpc/model/es/es.go

@@ -77,7 +77,7 @@ func SupplyRedis(in *consumerinfo.SupplyInfoSearchReq) (int64, *[]map[string]int
 			"total": total,
 			"list":  listData,
 		}
-		redis.Put("other", "supply_search_key", redisData, model.SupplyRedDay)
+		redis.Put("other", "supply_search_key", redisData, 60*60*24*model.SupplyRedDay)
 	} else {
 		data, _ := supplyData.(map[string]interface{})
 		if in.PageIndex == 1 {