xiaoyong931011
2022-07-08 bd4ab82f2e0c485f36a254e3cbf72f21dabfd628
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.xcong.farmer.cms.modules.core.service;
 
import java.util.List;
import java.util.Map;
 
public interface ICmsCoreService {
 
    /**
     * 文章编译
     *
     * @param templateName
     */
    void articleProcess(Map<String, Object> data, String templateName, String templatePath);
 
    /**
     * 栏目编译
     * @param map 栏目页面参数(如: 栏目ID/CODE)
     * @param templateName 模板名称
     */
    void columnProcess(Map<String, Object> map, String templateName);
 
    /**
     * 批量发布文章
     *
     * @param data
     * @param templateName
     * @param templatePath
     */
    void articlesProcess(Map<String, Object> data, List<Long> ids, String templateName, String templatePath);
 
    /**
     * 批量发布栏目
     *
     * @param map
     * @param templateName
     */
    void columnsProcess(Map<String, Object> map, List<Long> ids, String templateName);
 
    void indexProcess(Map<String, Object> map, String templateName);
 
}