Merge branch 'master' of http://120.27.238.55:7000/r/farmer-cms
| | |
| | | data.put("templatePath", templatePath); |
| | | data.put("templateName", data.get("id")); |
| | | if (StrUtil.isEmpty(templateName)) { |
| | | templateName = "defualt.artile.html"; |
| | | templateName = "defualt.article.html"; |
| | | } |
| | | |
| | | cfg.process(data, templateName); |
| | |
| | | |
| | | IPage<ArticleEntity> selectArticleInPage(Page<ArticleEntity> page, @Param("record") ArticleEntity article); |
| | | |
| | | IPage<WebArticleVo> selectWebArticleInPage(Page<WebArticleVo> page, @Param("record")ArticleEntity articleEntity); |
| | | IPage<WebArticleVo> selectWebArticleInPage(Page<WebArticleVo> page, @Param("record") ArticleEntity articleEntity); |
| | | |
| | | List<Long> selectArticleIdsByColumnId(@Param("columnId") Long columnId, @Param("companyId") Long companyId, @Param("type") Integer type); |
| | | } |
| | |
| | | data.put("companyId", companyId); |
| | | |
| | | executor.execute(()->{ |
| | | log.info("执行文章发布"); |
| | | cmsCoreService.articleProcess(data, column.getArticleTemplate(), column.getPath()); |
| | | this.releaseColumn(column.getId(), 1); |
| | | if (column.getParentId() != 0L) { |