goupan
2024-04-03 5506e9a45e717ffcb67ec313b5a4e8206d9b3a39
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
42
43
44
45
46
47
48
49
50
51
package cn.stylefeng.roses.kernel.system.integration.modular.system.config;
 
import cn.stylefeng.roses.kernel.rule.enums.ResBizTypeEnum;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import org.springframework.stereotype.Controller;
 
/**
 * 系统配置相关页面渲染
 *
 * @author jiawei
 * @date 2021/1/10 14:28
 */
@Controller
@ApiResource(name = "系统配置相关页面", resBizType = ResBizTypeEnum.SYSTEM)
public class ConfigViewController {
 
    /**
     * 系统配置-首页-视图
     *
     * @author jiawei
     * @date 2021/1/4 13:33
     */
    @GetResource(name = "系统配置-列表-视图", path = "/view/config")
    public String indexView() {
        return "/modular/system/config/config.html";
    }
 
    /**
     * 系统配置—新增-视图
     *
     * @author jiawei
     * @date 2021/1/4 13:34
     */
    @GetResource(name = "系统配置—新增-视图", path = "/view/config/addView")
    public String addView() {
        return "/modular/system/config/sysConfig_add.html";
    }
 
    /**
     * 系统配置-修改-视图
     *
     * @author jiawei
     * @date 2021/1/4 13:35
     */
    @GetResource(name = "系统配置-修改-视图", path = "/view/config/editView")
    public String editView() {
        return "/modular/system/config/sysConfig_edit.html";
    }
 
}