|
|
|
@@ -428,7 +428,7 @@ public class SysUserServiceImpl implements ISysUserService { |
|
|
|
.fluentPut("email", user.getEmail()) |
|
|
|
.fluentPut("remark", user.getRemark()) |
|
|
|
); |
|
|
|
String body = HttpUtil.createRequest(Method.PUT, updateUserUrl).body(updateUserInfo.toString()).execute().body(); |
|
|
|
String body = HttpUtil.createRequest(Method.PUT, uapUrl + updateUserUrl + tenantId).body(updateUserInfo.toString()).execute().body(); |
|
|
|
cn.hutool.json.JSONObject bodyJson = new cn.hutool.json.JSONObject(body); |
|
|
|
if (!(Boolean) bodyJson.get("flag")) { |
|
|
|
throw new Exception("更新火石平台用户失败"); |
|
|
|
@@ -600,7 +600,7 @@ public class SysUserServiceImpl implements ISysUserService { |
|
|
|
JSONObject deleteUserInfo = new JSONObject() |
|
|
|
.fluentPut("id", user.getUapId()) |
|
|
|
.fluentPut("loginName", user.getUserName()); |
|
|
|
String body = HttpUtil.createPost(deleteUserUrl).body(deleteUserInfo.toJSONString()).execute().body(); |
|
|
|
String body = HttpUtil.createPost(uapUrl + deleteUserUrl + tenantId).body(deleteUserInfo.toJSONString()).execute().body(); |
|
|
|
cn.hutool.json.JSONObject bodyJson = new cn.hutool.json.JSONObject(body); |
|
|
|
if (!(Boolean) bodyJson.get("flag")) { |
|
|
|
throw new Exception("删除火石平台用户失败"); |
|
|
|
|