Quellcode durchsuchen

同步日志信息修改

wangmh vor 7 Jahren
Ursprung
Commit
e48660d2c6

+ 1 - 1
sso-server/src/main/java/com/uas/sso/service/impl/UserServiceImpl.java

@@ -389,7 +389,7 @@ public class UserServiceImpl implements UserService {
                     try {
                         res = HttpUtil.doPost(url, formData, 30000);
                         if (!res.isSuccess()) {
-                            syncLog.error(appId, msg + ",同步用户信息成功", JSON.toJSONString(userView), res.getContent());
+                            syncLog.error(appId, msg + ",同步用户信息失败", JSON.toJSONString(userView), res.getContent());
                         } else {
                             syncLog.info(appId, msg + ",同步用户信息成功", JSON.toJSONString(userView));
                         }

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

@@ -112,7 +112,7 @@ public class UserspaceServiceImpl implements UserspaceService {
                     try {
                         res = HttpUtil.doPost(url, formData, 30000);
                         if (!res.isSuccess()) {
-                            syncLog.error(appId, msg + ",同步企业信息成功", JSON.toJSONString(userSpaceView), res.getContent());
+                            syncLog.error(appId, msg + ",同步企业信息失败", JSON.toJSONString(userSpaceView), res.getContent());
                         } else {
                             syncLog.info(appId, msg + ",同步企业信息成功", JSON.toJSONString(userSpaceView));
                         }