|
@@ -147,9 +147,12 @@ func (l *GetSubListLogic) GetSubList(in *bxsubscribe.SubscribeInfosReq) (*bxsubs
|
|
|
log.Println("tip info:", spqp.PageNum, "--", tipBool, "--", total, "--", bsp.Size)
|
|
|
//P618 增加预加载数据提示:为您预加载最近15天发布的【X】商机
|
|
|
//1、首次访问;2、无推送数据;3、数据量满足免费50条,付费用户1000条
|
|
|
- tipBool = spqp.PageNum == 1 && tipBool && total >= int64(bsp.Size)
|
|
|
+ tipBool = spqp.PageNum == 1 && tipBool
|
|
|
if tipBool {
|
|
|
- tip = fmt.Sprintf(IC.C.SubListTip, fmt.Sprintf("%d条", bsp.Size))
|
|
|
+ tip = fmt.Sprintf(IC.C.SubListTip, "")
|
|
|
+ if total >= int64(bsp.Size) {
|
|
|
+ tip = fmt.Sprintf(IC.C.SubListTip, fmt.Sprintf("%d条", bsp.Size))
|
|
|
+ }
|
|
|
}
|
|
|
start2 := time.Now().Unix()
|
|
|
logx.Info("2、查询数据用户", start2-start1)
|