|
|
|
@ -54,7 +54,7 @@ public class CmsController { |
|
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.REQ_PARAMS_ERROR); |
|
|
|
|
} |
|
|
|
|
CmsContent cmsContent = null; |
|
|
|
|
if (body.getId() == null) { |
|
|
|
|
if (body.getId() != null) { |
|
|
|
|
// 查询内容
|
|
|
|
|
cmsContent = cmsContentService.getDetail(body.getId()); |
|
|
|
|
if (cmsContent == null) { |
|
|
|
|