小程序新增默认角色BUG修改1
This commit is contained in:
+10
-2
@@ -1861,9 +1861,17 @@ public class UserApplicationService {
|
|||||||
}
|
}
|
||||||
UserEntity userEntity = userDomainService.addUser(userDO);
|
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平台员工信息
|
//同步YMS平台员工信息
|
||||||
try {
|
try {
|
||||||
ymsDomainService.addOrEditYmsUser(userEntity);
|
ymsDomainService.addOrEditYmsUser(userEntity);
|
||||||
|
|||||||
Reference in New Issue
Block a user