小程序新增默认角色BUG修改1

This commit is contained in:
秦鸿展
2026-06-29 14:55:33 +08:00
parent 374b26d023
commit 287575c622
@@ -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);