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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package cn.stylefeng.roses.kernel.system.integration.modular.system.role;
 
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 fengshuonan
 * @date 2021/1/8 20:55
 */
@Controller
@ApiResource(name = "角色管理界面", resBizType = ResBizTypeEnum.SYSTEM)
public class RoleViewController {
 
    /**
     * 角色管理首页
     *
     * @author fengshuonan
     * @date 2021/1/8 20:55
     */
    @GetResource(name = "应用管理首页", path = "/view/role")
    public String roleIndex() {
        return "/modular/system/role/role.html";
    }
 
    /**
     * 新增角色界面
     *
     * @author fengshuonan
     * @date 2021/1/8 20:57
     */
    @GetResource(name = "新增角色界面", path = "/view/role/add")
    public String roleAdd() {
        return "/modular/system/role/role_add.html";
    }
 
    /**
     * 编辑角色界面
     *
     * @author fengshuonan
     * @date 2021/1/8 20:57
     */
    @GetResource(name = "编辑角色界面", path = "/view/role/edit")
    public String roleEdit() {
        return "/modular/system/role/role_edit.html";
    }
 
    /**
     * 修改数据范围界面
     *
     * @author fengshuonan
     * @date 2021/1/8 20:57
     */
    @GetResource(name = "修改数据范围界面", path = "/view/role/editDataScope")
    public String roleEditDataScope() {
        return "/modular/system/role/role_edit_data_scope.html";
    }
 
    /**
     * 分配接口界面
     *
     * @author majianguo
     * @date 2021/1/9 11:43
     */
    @GetResource(name = "分配接口界面", path = "/view/role/assignApi")
    public String roleAssignApi() {
        return "/modular/system/role/role_assign_api.html";
    }
 
    /**
     * 分配菜单和按钮界面
     *
     * @author majianguo
     * @date 2021/1/9 11:45
     */
    @GetResource(name = "分配菜单界面", path = "/view/role/assignMenuAndButtons")
    public String roleAssignMenuButton() {
        return "/modular/system/role/role_assign_menu_button.html";
    }
 
}