|
@@ -795,7 +795,7 @@ func SqlComprehensiveSearch(user *models.WxUserItem, keyWord string, startSize,
|
|
err = errors.New("GetResourceDataListCondition, Err: " + e.Error())
|
|
err = errors.New("GetResourceDataListCondition, Err: " + e.Error())
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- } else if totalTitle < searchTotal-pageSize {
|
|
|
|
|
|
+ } else if totalTitle <= searchTotal-pageSize {
|
|
fmt.Println("2")
|
|
fmt.Println("2")
|
|
//全部都是内容搜索
|
|
//全部都是内容搜索
|
|
startSize = startSize - totalTitle
|
|
startSize = startSize - totalTitle
|