|
@@ -387,7 +387,7 @@ func (p *Pcsearch) PcSearchIndex() error {
|
|
|
|
|
|
//
|
|
|
func Newbids(p string) []interface{} {
|
|
|
- pages, _ := redis.Get("other", "index_list"+p).([]interface{})
|
|
|
+ pages, _ := redis.Get("newother", "index_list"+p).([]interface{})
|
|
|
if len(pages) == 0 {
|
|
|
var list *[]map[string]interface{}
|
|
|
subtype := ""
|
|
@@ -433,8 +433,8 @@ func Newbids(p string) []interface{} {
|
|
|
}
|
|
|
pages = append(pages, data[sta:end])
|
|
|
}
|
|
|
- redis.Put("other", "index_list"+p, pages, 60*60*24*2)
|
|
|
- pages, _ = redis.Get("other", "index_list"+p).([]interface{})
|
|
|
+ redis.Put("newother", "index_list"+p, pages, 60*60*24*2)
|
|
|
+ pages, _ = redis.Get("newother", "index_list"+p).([]interface{})
|
|
|
}
|
|
|
return pages
|
|
|
}
|