Эх сурвалжийг харах

fix:redis 缓存时间修改

duxin 3 жил өмнө
parent
commit
6a7c104615

+ 1 - 1
src/jfw/front/supsearch.go

@@ -433,7 +433,7 @@ func Newbids(p string) []interface{} {
 			}
 			pages = append(pages, data[sta:end])
 		}
-		redis.Put("newother", "index_list"+p, pages, 60*60*24*2)
+		redis.Put("newother", "index_list"+p, pages, 60*60*24)
 		pages, _ = redis.Get("newother", "index_list"+p).([]interface{})
 	}
 	return pages