浏览代码

企业同步日志修改

wangmh 7 年之前
父节点
当前提交
d448de5bfb
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      sso-server/src/main/java/com/uas/sso/service/impl/UserspaceServiceImpl.java

+ 3 - 3
sso-server/src/main/java/com/uas/sso/service/impl/UserspaceServiceImpl.java

@@ -137,12 +137,12 @@ public class UserspaceServiceImpl implements UserspaceService {
                     try {
                         res = HttpUtil.doPost(url, formData, 10000);
                         if (!res.isSuccess()) {
-                            syncLog.error(appId, msg + ",同步企业信息失败", JSON.toJSONString(userSpaceView), res.getContent());
+                            syncLog.error(appId, msg + ",同步企业信息失败", JSON.toJSONString(formData), res.getContent());
                         } else {
-                            syncLog.info(appId, msg + ",同步企业信息成功", JSON.toJSONString(userSpaceView));
+                            syncLog.info(appId, msg + ",同步企业信息成功", JSON.toJSONString(formData));
                         }
                     } catch (Exception e) {
-                        syncLog.error(appId, msg + ",同步企业信息失败", JSON.toJSONString(userSpaceView), e.getMessage());
+                        syncLog.error(appId, msg + ",同步企业信息失败", JSON.toJSONString(formData), e.getMessage());
                     }
                 }
                 return null;