Explorar o código

fix系统员工头像

Eric hai 1 ano
pai
achega
e453307839

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/EmployeeServiceImpl.java

@@ -765,7 +765,7 @@ public class EmployeeServiceImpl extends BaseServiceImpl<Integer, Employee> impl
 
                 ImGroupWrapper.ImUserInfo imUserInfo = imGroupCoreService.register(String.valueOf(userInfo.getId()), "",
                     username, sysUserService.getImAvatar(userInfo));
-                log.info("用户更新信息同步到三方成功,userId={}, ret={}", userInfo.getId(), JSON.toJSONString(imUserInfo));
+                log.info("用户更新信息同步到三方成功,userId={}, username={}, ret={}", userInfo.getId(), username, JSON.toJSONString(imUserInfo));
             } catch (Exception e) {
                 log.error("用户更新信息同步到三方失败,userId:{}", userInfo.getId(), e);
             }

+ 1 - 1
mec-im/src/main/java/com/ym/controller/UserController.java

@@ -179,7 +179,7 @@ public class UserController {
                     ImGroupWrapper.ImUserInfo register = imGroupCoreService.register(userModel.getId(), "",
                         username,  sysUserService.getImAvatar(teacherDao.getUser(userInfo.getUserId().intValue())));
 
-                    log.info("update IM_USER register: {}", JSONObject.toJSONString(register));
+                    log.info("update IM_USER userId={}, username={} register: {}", userModel.getId(), username, JSONObject.toJSONString(register));
                 } catch (Exception e) {
                     log.error("更新注册IM用户信息", e);
                 }