Commit 2d5dd0f1 by guojuxing

默认数据查询修复

parent af2d19d9
......@@ -604,7 +604,7 @@ public class AppletCustomPageApiServiceImpl implements AppletCustomPageApiServic
throw new CommonException(ErrorCode.PARAMETER_ERROR.getCode(), "该页面类型没有默认数据");
}
TabAppletCustomPage record = appletCustomPageService.getDefault(pageType);
if (pageType == null) {
if (record == null) {
throw new CommonException(ErrorCode.PARAMETER_ERROR.getCode(), "还未配置默认数据");
}
return record;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment