|
@@ -647,6 +647,9 @@ func (so *SearchOptimize) GetBidSearchListByCache() (list []*map[string]interfac
|
|
|
if sCache != nil && len(*sCache) > 0 {
|
|
|
err = json.Unmarshal(*sCache, &list)
|
|
|
if err == nil {
|
|
|
+ //数据如果>最大数据结果量 total==count,否则count = 付费:5000;免费:500;
|
|
|
+ count = util.If(so.IsPay, int64(bidsearch.SearchMaxPageCount_PAYED), int64(bidsearch.SearchMaxPageCount_PC)).(int64)
|
|
|
+ count = util.If(count > total, total, count).(int64)
|
|
|
return
|
|
|
}
|
|
|
}
|