|
@@ -91,6 +91,7 @@ func (kws *KeyWordsSearch) GetBidSearchListByCache(in *bxcore.SearchReq) (list [
|
|
|
if len(l) > 0 {
|
|
|
total = c
|
|
|
limitCount := int64(util.SearchPageSize * MC.If(in.IsPay, util.SearchMaxPageNum_PAYED, util.SearchMaxPageNum).(int))
|
|
|
+ log.Println(in.IsPay, limitCount, "调试日志")
|
|
|
count = c
|
|
|
if count > limitCount {
|
|
|
count = limitCount
|
|
@@ -177,7 +178,7 @@ func (kws *KeyWordsSearch) SearchParamsHandle(in *bxcore.SearchReq) []string {
|
|
|
//判断用户身份
|
|
|
userInfo = IC.Middleground.PowerCheckCenter.Check(in.AppId, in.MgoUserId, baseUserId, accountId, in.EntId, positionType, positionId)
|
|
|
} else {
|
|
|
- userInfo.Free.IsFree = true
|
|
|
+ userInfo = &pb.CheckResp{Free: &pb.Free{IsFree: true}}
|
|
|
}
|
|
|
//是否是付费用户
|
|
|
in.IsPay = !userInfo.Free.IsFree
|