|
@@ -381,7 +381,7 @@ func (stdDoc *StdDoc) DocRecommend() {
|
|
}
|
|
}
|
|
// 存缓存
|
|
// 存缓存
|
|
if len(list) > 0 {
|
|
if len(list) > 0 {
|
|
- redis.Put("other", topKey, list, 60*60*12)
|
|
|
|
|
|
+ redis.Put(public.RedisCode, topKey, list, 60*60*12)
|
|
}
|
|
}
|
|
if len(list) > pageSizeReq {
|
|
if len(list) > pageSizeReq {
|
|
list = list[:pageSizeReq]
|
|
list = list[:pageSizeReq]
|