类 DynamicRoleRestController


  • @RestController
    @RequestMapping(value="/vue/dynamicRole",
                    produces="application/json")
    public class DynamicRoleRestController
    extends Object
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • 构造器详细资料

      • DynamicRoleRestController

        public DynamicRoleRestController()
    • 方法详细资料

      • dynamicRoleList

        @GetMapping("/dynamicRoleList")
        public net.risesoft.pojo.Y9Result<List<DynamicRole>> dynamicRoleList()
        获取动态角色列表
        返回:
        Y9Result>
      • getDynamicRole

        @GetMapping("/getDynamicRole")
        public net.risesoft.pojo.Y9Result<DynamicRole> getDynamicRole​(@RequestParam
                                                                      String id)
        获取动态角色
        参数:
        id - 角色id
        返回:
        Y9Result
      • list

        @GetMapping("/list")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> list()
        获取动态角色树
        返回:
        Y9Result>
      • remove

        @PostMapping("/remove")
        public net.risesoft.pojo.Y9Result<String> remove​(@RequestParam
                                                         String[] dynamicRoleIds)
        删除
        参数:
        dynamicRoleIds - 角色ids
        返回:
        Y9Result
      • saveOrUpdate

        @PostMapping("/saveOrUpdate")
        public net.risesoft.pojo.Y9Result<String> saveOrUpdate​(DynamicRole dynamicRole)
        保存动态角色
        参数:
        dynamicRole - 动态角色
        返回:
        Y9Result