...
|
...
|
@@ -93,12 +93,11 @@ public class CollagePageService extends AbstractPageSceneService { |
|
|
try {
|
|
|
logger.info("[class=CollageService][func=searchList][param={}][begin={}]", paramMap.toString(), System.currentTimeMillis());
|
|
|
// 1.构造查询参数
|
|
|
int pageSize = StringUtils.isBlank(paramMap.get("viewNum")) ? 10 : Integer.parseInt(paramMap.get("viewNum"));
|
|
|
int page = StringUtils.isBlank(paramMap.get("page")) ? 1 : Integer.parseInt(paramMap.get("page"));
|
|
|
int pageSize = MapUtils.getIntValue(paramMap,"viewNum",10);
|
|
|
int page = MapUtils.getIntValue(paramMap,"page",1);
|
|
|
if (page < 1 || pageSize < 0) {
|
|
|
return new SearchApiResult().setCode(400).setMessage("分页参数错误");
|
|
|
}
|
|
|
|
|
|
this.addParamsToParamMap(paramMap);
|
|
|
|
|
|
//2、查询正在生效的活动ids
|
...
|
...
|
|