Browse Source

fix:redis 缓存时间修改

duxin 3 years ago
parent
commit
6a7c104615
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/front/supsearch.go

+ 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