Commit b238018b authored by Quxl's avatar Quxl

x

parent fbc9304c
...@@ -166,6 +166,15 @@ public class AdminAuthController { ...@@ -166,6 +166,15 @@ public class AdminAuthController {
return Rjx.jsonOk().set("groupMenuList", groupMenuList).set("groupFilmtypeList", groupFilmtypeList); return Rjx.jsonOk().set("groupMenuList", groupMenuList).set("groupFilmtypeList", groupFilmtypeList);
} }
@ResponseBody
@PostMapping("adminAuth")
@ApiOperation("当前登陆管理员权限查询")
public Object getAdminAuth() throws FileNotFoundException {
Fc_admin admin = (Fc_admin)tokenService.getTokenObj();
List<Map<String, Object>> groupMenuList = service.queryGroupMenuList(admin.getGroup_id());
return Rjx.jsonOk().setData(groupMenuList);
}
@ResponseBody @ResponseBody
@PostMapping("saveOrUpdateMenu") @PostMapping("saveOrUpdateMenu")
@ApiOperation("保存菜单") @ApiOperation("保存菜单")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment