| | |
| | | package com.xcong.farmer.cms.modules.system.service.Impl; |
| | | |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import cn.hutool.core.collection.CollUtil; |
| | | import cn.hutool.core.io.FileUtil; |
| | | import com.xcong.farmer.cms.common.utils.FileUtils; |
| | |
| | | } |
| | | |
| | | if (article.getType() == 1) { |
| | | map.put("id", article.getId()); |
| | | cmsCoreService.articleProcess(map, columnEntity.getArticleTemplate(), columnEntity.getPath()); |
| | | Map<String, Object> articleMap = new HashMap<>(); |
| | | BeanUtil.copyProperties(map, articleMap); |
| | | articleMap.put("id", article.getId()); |
| | | cmsCoreService.articleProcess(articleMap, columnEntity.getArticleTemplate(), columnEntity.getPath()); |
| | | } |
| | | } |
| | | } |