Package net.risesoft.controller
Class DynamicRoleRestController
- java.lang.Object
-
- net.risesoft.controller.DynamicRoleRestController
-
@RestController @RequestMapping(value="/vue/dynamicRole", produces="application/json") public class DynamicRoleRestController extends Object- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description DynamicRoleRestController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OptionValue>>deptPropCategory()net.risesoft.pojo.Y9Result<List<DynamicRole>>dynamicRoleList()获取动态角色列表net.risesoft.pojo.Y9Result<List<String>>getClasses(String packageName)net.risesoft.pojo.Y9Result<DynamicRole>getDynamicRole(String id)获取动态角色net.risesoft.pojo.Y9Result<List<NodeTreeVO>>list()获取动态角色树net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.Role>>publicRole()net.risesoft.pojo.Y9Result<String>remove(String[] dynamicRoleIds)删除net.risesoft.pojo.Y9Result<String>saveOrUpdate(DynamicRole dynamicRole)保存动态角色
-
-
-
Method Detail
-
dynamicRoleList
@GetMapping("/dynamicRoleList") public net.risesoft.pojo.Y9Result<List<DynamicRole>> dynamicRoleList()获取动态角色列表- Returns:
- Y9Result
- >
-
getDynamicRole
@GetMapping("/getDynamicRole") public net.risesoft.pojo.Y9Result<DynamicRole> getDynamicRole(@RequestParam String id)获取动态角色- Parameters:
id- 角色id- Returns:
- Y9Result
-
list
@GetMapping("/list") public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> list()获取动态角色树- Returns:
- Y9Result
- >
-
deptPropCategory
@GetMapping("/deptPropCategory") public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OptionValue>> deptPropCategory()
-
publicRole
@GetMapping("/publicRole") public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.Role>> publicRole()
-
getClasses
@GetMapping("/getClasses") public net.risesoft.pojo.Y9Result<List<String>> getClasses(String packageName)
-
remove
@PostMapping("/remove") public net.risesoft.pojo.Y9Result<String> remove(@RequestParam String[] dynamicRoleIds)删除- Parameters:
dynamicRoleIds- 角色ids- Returns:
- Y9Result
-
saveOrUpdate
@PostMapping("/saveOrUpdate") public net.risesoft.pojo.Y9Result<String> saveOrUpdate(DynamicRole dynamicRole)保存动态角色- Parameters:
dynamicRole- 动态角色- Returns:
- Y9Result
-
-