generated from dxfeng/secondev-wugang-dxfeng
将日志级别从 error 改为 info
This commit is contained in:
parent
50de564224
commit
837c05588c
|
|
@ -47,14 +47,14 @@ public class PermissionDetailAction implements EsbServerlessRpcRemoteInterface
|
|||
jsonObject.put("targetId", employeeId);
|
||||
jsonObject.put("access_token", papiToken);
|
||||
|
||||
log.error("jsonObject===" + jsonObject);
|
||||
log.info("jsonObject===" + jsonObject);
|
||||
String response = HttpRequest.post(ApplicationConfigConstant.APP_URL + "/papi/openapi/api/architecture/permission/transfer/query/v1/module")
|
||||
.header("Content-Type", "application/json")
|
||||
.header("optUserId", optUserId)
|
||||
.body(jsonObject.toJSONString())
|
||||
.execute()
|
||||
.body();
|
||||
log.error("response===" + response);
|
||||
log.info("response===" + response);
|
||||
|
||||
JSONObject responseJson = JSONObject.parseObject(response);
|
||||
if (responseJson.getIntValue("code") != 200) {
|
||||
|
|
@ -93,7 +93,7 @@ public class PermissionDetailAction implements EsbServerlessRpcRemoteInterface
|
|||
|
||||
returnMap.put("permissionTransferModuleList", permissionTransferModuleList);
|
||||
returnMap.put("roleDetailList", roleDetailList);
|
||||
log.error("returnMap==" + JSON.toJSONString(returnMap));
|
||||
log.info("returnMap==" + JSON.toJSONString(returnMap));
|
||||
return WeaResult.success(returnMap);
|
||||
}
|
||||
|
||||
|
|
@ -121,14 +121,14 @@ public class PermissionDetailAction implements EsbServerlessRpcRemoteInterface
|
|||
jsonObject.put("module", "hrm");
|
||||
jsonObject.put("subModule", "hrm_role");
|
||||
jsonObject.put("type", "resource");
|
||||
log.error("getRoleDetail>>jsonObject===" + jsonObject);
|
||||
log.info("getRoleDetail>>jsonObject===" + jsonObject);
|
||||
String response = HttpRequest.post(ApplicationConfigConstant.APP_URL + "/papi/openapi/api/architecture/permission/transfer/query/v1/module/content")
|
||||
.header("Content-Type", "application/json")
|
||||
.header("optUserId", optUserId)
|
||||
.body(jsonObject.toJSONString())
|
||||
.execute()
|
||||
.body();
|
||||
log.error("getRoleDetail>>response===" + response);
|
||||
log.info("getRoleDetail>>response===" + response);
|
||||
|
||||
JSONObject responseJson = JSONObject.parseObject(response);
|
||||
if (responseJson.getIntValue("code") != 200) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue