提交代码

dev
胡锐 1 month ago
parent 529a743a02
commit d151a03d60
  1. 2
      bweb/src/main/java/com/bweb/controller/CmsController.java

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

Loading…
Cancel
Save