diff --git a/mhd-user-center/src/main/java/com/mhd/user/application/service/UserApplicationService.java b/mhd-user-center/src/main/java/com/mhd/user/application/service/UserApplicationService.java index 040da7080..a0862fedd 100644 --- a/mhd-user-center/src/main/java/com/mhd/user/application/service/UserApplicationService.java +++ b/mhd-user-center/src/main/java/com/mhd/user/application/service/UserApplicationService.java @@ -1861,9 +1861,17 @@ public class UserApplicationService { } UserEntity userEntity = userDomainService.addUser(userDO); //同步网货平台员工信息 - wlhyDomainService.addOrEditPlatformUser1(userEntity); + try { + wlhyDomainService.addOrEditPlatformUser1(userEntity); + } catch (Exception e) { + log.warn("同步网货平台员工信息失败,但不影响用户保存: {}", e.getMessage()); + } //同步商城用户 - userMallDomainService.syncDriverUserInfo(userEntity); + try { + userMallDomainService.syncDriverUserInfo(userEntity); + } catch (Exception e) { + log.warn("同步商城用户失败,但不影响用户保存: {}", e.getMessage()); + } //同步YMS平台员工信息 try { ymsDomainService.addOrEditYmsUser(userEntity);