...
|
...
|
@@ -49,8 +49,8 @@ public class SceneRecallService { |
|
|
public SearchApiResult sceneRecall(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
//1、分页参数验证
|
|
|
int page = MapUtils.getIntValue(paramMap, "page", 10);
|
|
|
int pageSize = MapUtils.getIntValue(paramMap, "viewNum", 10);
|
|
|
int page = MapUtils.getIntValue(paramMap, "page", 1);
|
|
|
int pageSize = MapUtils.getIntValue(paramMap, "viewNum", 20);
|
|
|
if (page < 1 || pageSize < 0 || page * pageSize > 1000000) {
|
|
|
return new SearchApiResult().setCode(400).setMessage("分页参数不合法");
|
|
|
}
|
...
|
...
|
@@ -74,7 +74,6 @@ public class SceneRecallService { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
private List<Map<String, Object>> queryProductList(RecallSknParams recallSknParams, RecallSknResult recallSknResult,int page,int pageSize) {
|
|
|
//1、判断当前页码是否在召回的页码里
|
|
|
int recallTotalPage = recallSknResult.getRecallTotalPage();
|
...
|
...
|
|