From 287b84de0bb834517d8346cb7dee7e5365898e27 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Fri, 18 Oct 2024 16:59:56 +0800
Subject: [PATCH] feature:配合待办逻辑,新增根据机构获取机构用户接口
---
dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
index 5cb6066..a677523 100644
--- a/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
+++ b/dyh-service/dyh-sys/src/main/java/cn/huge/module/grid/service/GridUserService.java
@@ -17,6 +17,7 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
+import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;
@@ -153,6 +154,12 @@
HeadVo headVo = initHeadVo();
GridOrgUserRequestVo requestVo = new GridOrgUserRequestVo();
requestVo.setHeadVo(headVo);
+ List<String> roleIds = new ArrayList<>();
+ roleIds.add("43fc22e6-7276-11ef-a6d1-005056820c5f");
+ roleIds.add("442be8dd-7276-11ef-a6d1-005056820c5f");
+ roleIds.add("679b1846-71c5-11ef-a6d1-005056820c5f");
+ roleIds.add("67affc74-71c5-11ef-a6d1-005056820c5f");
+ gridOrgUsersVo.setRoleIds(roleIds);
requestVo.setBodyVo(gridOrgUsersVo);
try {
// log.info("xsdobject:{}",JSON.toJSONString(requestVo));
@@ -161,7 +168,7 @@
log.info("xsdurl:{}",testUrl + "/api/thrid/grid/user/get-org-users");
s = HttpClientUtils.httpPostRaw(testUrl + "/api/thrid/grid/user/get-org-users", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8");
}else {
- log.info("xsdurl:{}",gridUrl + "/sys/getUserByToken");
+ log.info("xsdurl:{}",gridUrl + "/sys/user/getUserListByOrg");
s = HttpClientUtils.httpPostRaw(gridUrl + "/sys/user/getUserListByOrg", JSON.toJSONString(requestVo), new HashMap<>(), "utf-8");
}
log.info("xsd:{}",s);
--
Gitblit v1.8.0