类 DynamicRoleRestController
- java.lang.Object
-
- net.risesoft.controller.DynamicRoleRestController
-
@RestController @RequestMapping(value="/vue/dynamicRole", produces="application/json") public class DynamicRoleRestController extends Object- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
构造器概要
构造器 构造器 说明 DynamicRoleRestController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<List<DynamicRole>>dynamicRoleList()获取动态角色列表net.risesoft.pojo.Y9Result<DynamicRole>getDynamicRole(String id)获取动态角色net.risesoft.pojo.Y9Result<List<NodeTreeVO>>list()获取动态角色树net.risesoft.pojo.Y9Result<String>remove(String[] dynamicRoleIds)删除net.risesoft.pojo.Y9Result<String>saveOrUpdate(DynamicRole dynamicRole)保存动态角色
-
-
-
方法详细资料
-
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
-
-