|
|
|
@ -161,7 +161,7 @@ public class CmsArticleController extends JeecgController<CmsArticle, ICmsArticl |
|
|
|
|
public Result<String> addJSJLNEW(@RequestBody CmsArticle cmsArticle) { |
|
|
|
|
LoginUser principal = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
|
|
|
|
cmsArticle.setCreateBy(principal.getUsername()); |
|
|
|
|
CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId()); |
|
|
|
|
/*CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId());*/ |
|
|
|
|
/*cmsArticle.setColumnName(cmsColumn.getName());*/ |
|
|
|
|
// if (StringUtils.equals("1", cmsArticle.getStatus())) {
|
|
|
|
|
cmsArticle.setPublishTime(new Date()); |
|
|
|
|