From 016cb75c18114b9d165a2749be6e1b405aa26d07 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期二, 08 十一月 2022 16:54:30 +0800
Subject: [PATCH] Merge branch 'local_20221104' into huacheng_test
---
springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java
index 2ca7455..db594ed 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/RoleApi.java
@@ -4,6 +4,7 @@
import javax.annotation.Resource;
+import com.panzhihua.common.controller.BaseController;
import org.springframework.web.bind.annotation.*;
import com.panzhihua.common.model.vos.MenuVO;
@@ -20,7 +21,7 @@
**/
@RestController
@RequestMapping("/role/")
-public class RoleApi {
+public class RoleApi extends BaseController {
@Resource
private RoleService roleService;
@@ -66,8 +67,8 @@
* @return 角色集合
*/
@PostMapping("listrolebackstage")
- public R listRoleBackstage(@RequestParam("communityId") Long communityId,@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize) {
- return roleService.listRoleBackstage(communityId,pageNum,pageSize);
+ public R listRoleBackstage(@RequestParam("communityId") Long communityId,@RequestParam("pageNum")Integer pageNum,@RequestParam("pageSize")Integer pageSize,@RequestParam("areaCode")String areaCode) {
+ return roleService.listRoleBackstage(communityId,pageNum,pageSize,areaCode);
}
/**
@@ -103,7 +104,7 @@
*/
@PostMapping("listmenubackstage")
public R listMenuBackstage(@RequestParam("communityId") Long communityId) {
- return roleService.listMenuBackstage(communityId);
+ return roleService.listMenuBackstage(communityId,this.getAppId());
}
/**
--
Gitblit v1.7.1