Commit e17a80f2 by guojx

好办菜单兼容企微服务

parent 5c5d33e8
...@@ -47,7 +47,7 @@ public class RightController extends WebBaseController { ...@@ -47,7 +47,7 @@ public class RightController extends WebBaseController {
if(StringUtils.isEmpty(clerkId)) { if(StringUtils.isEmpty(clerkId)) {
return resultResponse(HaoBanErrCode.ERR_OTHER, "clerkId为空"); return resultResponse(HaoBanErrCode.ERR_OTHER, "clerkId为空");
} }
ServiceResponse<List<RightMenuDTO>> resp = this.rightService.getHaobanMenu(enterpriseId, clerkId); ServiceResponse<List<RightMenuDTO>> resp = this.rightService.getHaobanMenu(enterpriseId, clerkId, login.getWxEnterpriseId());
if (resp.isSuccess()) { if (resp.isSuccess()) {
return resultResponse(HaoBanErrCode.ERR_1, resp.getResult()); return resultResponse(HaoBanErrCode.ERR_1, resp.getResult());
} }
...@@ -67,7 +67,7 @@ public class RightController extends WebBaseController { ...@@ -67,7 +67,7 @@ public class RightController extends WebBaseController {
if(StringUtils.isEmpty(clerkId)) { if(StringUtils.isEmpty(clerkId)) {
return resultResponse(HaoBanErrCode.ERR_OTHER, "clerkId为空"); return resultResponse(HaoBanErrCode.ERR_OTHER, "clerkId为空");
} }
ServiceResponse<Map<String,Object>> resp = this.rightService.listHaobanAllMenu(enterpriseId, clerkId); ServiceResponse<Map<String,Object>> resp = this.rightService.listHaobanAllMenu(enterpriseId, clerkId, login.getWxEnterpriseId());
if (resp.isSuccess()) { if (resp.isSuccess()) {
return resultResponse(HaoBanErrCode.ERR_1, resp.getResult()); return resultResponse(HaoBanErrCode.ERR_1, resp.getResult());
} }
......
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