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.dict;
 
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 huangyao
 * @date 2021/1/6 20:53
 **/
@Controller
@ApiResource(name = "字典类型管理相关的界面渲染", resBizType = ResBizTypeEnum.SYSTEM)
public class DictTypeViewController {
 
    /**
     * 字典管理-视图
     *
     * @author chenjinlong
     * @date 2021/1/22 16:09
     */
    @GetResource(name = "字典类型管理-列表-视图", path = "/view/dictType")
    public String indexView() {
        return "/modular/system/dict/dictType.html";
    }
 
    /**
     * 字典类型管理-添加-视图
     *
     * @author chenjinlong
     * @date 2021/1/22 16:09
     */
    @GetResource(name = "字典类型管理-添加-视图", path = "/view/dictType/addView")
    public String addView() {
        return "/modular/system/dict/dictType_add.html";
    }
 
    /**
     * 字典类型管理-编辑-视图
     *
     * @author chenjinlong
     * @date 2021/1/22 16:09
     */
    @GetResource(name = "字典类型管理-编辑-视图", path = "/view/dictType/editView")
    public String editView() {
        return "/modular/system/dict/dictType_edit.html";
    }
 
}