系统角色权限管理功能模块开发
发布时间
阅读量:
阅读量
用户角色分配机制
1、首先应检索用户所具备的角色信息,并将其进行回显处理
/** * UserController
* @apiParam {Integer} page 当前页码
* @apiParam {Integer} size 当前页展示多少条数据
* @apiParam {Integer} userId 用户id
*/
@PostMapping("/getPageRoleOfUser")
public Object getPageRoleOfUser(@RequestBody JSONObject obj) {
Map<String, Object> result = new HashMap<>();
try {
Map<String, Object> params = new HashMap<String, Object>();
params.put("page", obj.get("page"));
params.put("size", obj.get("size"));
全部评论 (0)
还没有任何评论哟~
