|
@ -42,6 +42,7 @@ public class YantaiApi { |
|
|
*/ |
|
|
*/ |
|
|
private static final String SSO_API_TOKEN = "iJCDUgCBV/Zk5FkkaxLypA=="; |
|
|
private static final String SSO_API_TOKEN = "iJCDUgCBV/Zk5FkkaxLypA=="; |
|
|
private static final String SSO_BACKGROUND_SERVER_URL = "http://172.20.46.155:8082/"; |
|
|
private static final String SSO_BACKGROUND_SERVER_URL = "http://172.20.46.155:8082/"; |
|
|
|
|
|
//private static final String SSO_BACKGROUND_SERVER_URL = "http://120.220.248.247:8081/";
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* desc:根据组织id获取下级组织 |
|
|
* desc:根据组织id获取下级组织 |
|
@ -240,7 +241,9 @@ public class YantaiApi { |
|
|
String organizationId = "44e05de9-34fa-48f6-b89f-02838d792cf9"; |
|
|
String organizationId = "44e05de9-34fa-48f6-b89f-02838d792cf9"; |
|
|
List<OrgData> childOuInfoByGuid = getChildOuInfoByGuid(organizationId); |
|
|
List<OrgData> childOuInfoByGuid = getChildOuInfoByGuid(organizationId); |
|
|
System.out.println("childOuInfoByGuid:"+JSON.toJSONString(childOuInfoByGuid)); |
|
|
System.out.println("childOuInfoByGuid:"+JSON.toJSONString(childOuInfoByGuid)); |
|
|
List<UserData> userByOuGuid = getUserByOuGuid(organizationId); |
|
|
//先用他说的有人的组织id联调
|
|
|
|
|
|
String orgId = "2b271845-ed51-48aa-9935-00b9e7e06311"; |
|
|
|
|
|
List<UserData> userByOuGuid = getUserByOuGuid(orgId); |
|
|
System.out.println("getUserByOuGuid:"+JSON.toJSONString(userByOuGuid)); |
|
|
System.out.println("getUserByOuGuid:"+JSON.toJSONString(userByOuGuid)); |
|
|
|
|
|
|
|
|
Map<String, Object> apiHeaderMap = getApiHeaderMap(); |
|
|
Map<String, Object> apiHeaderMap = getApiHeaderMap(); |
|
|