|
|
@@ -51,7 +51,9 @@ public class PortalSearchController extends BaseController {
|
|
|
if(null != dateSort && dateSort != 0 && dateSort != 1){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "时间排序"));
|
|
|
}
|
|
|
-
|
|
|
+ if (null==dateSort) {
|
|
|
+ dateSort=0;
|
|
|
+ }
|
|
|
if (StringUtils.isNumeric(pageSize)) {
|
|
|
pSize = Integer.parseInt(pageSize);
|
|
|
}
|