APP菜单权限
This commit is contained in:
+11
-7
@@ -1901,14 +1901,18 @@ public class UserApplicationService {
|
||||
} catch (Exception e) {
|
||||
log.warn("同步商城用户失败,但不影响用户保存: {}", e.getMessage());
|
||||
}
|
||||
try {
|
||||
// 截断avatar URL(YMS的avatar列长度有限,去掉OSS签名参数)
|
||||
if (userEntity.getAvatar() != null && userEntity.getAvatar().contains("?")) {
|
||||
userEntity.setAvatar(userEntity.getAvatar().substring(0, userEntity.getAvatar().indexOf("?")));
|
||||
// 只有组织开启园区(排队)才同步YMS
|
||||
Integer isQueue = userMapper.getOrdIsQueue(userEntity.getOrganizationId());
|
||||
if (isQueue != null && isQueue == 1) {
|
||||
try {
|
||||
// 截断avatar URL(YMS的avatar列长度有限,去掉OSS签名参数)
|
||||
if (userEntity.getAvatar() != null && userEntity.getAvatar().contains("?")) {
|
||||
userEntity.setAvatar(userEntity.getAvatar().substring(0, userEntity.getAvatar().indexOf("?")));
|
||||
}
|
||||
ymsDomainService.addOrEditYmsUser(userEntity);
|
||||
} catch (Exception e) {
|
||||
log.warn("同步YMS平台员工信息失败,但不影响用户保存: {}", e.getMessage());
|
||||
}
|
||||
ymsDomainService.addOrEditYmsUser(userEntity);
|
||||
} catch (Exception e) {
|
||||
log.warn("同步YMS平台员工信息失败,但不影响用户保存: {}", e.getMessage());
|
||||
}
|
||||
//2024年3月27日16:40:15 处理用户验证码注册,首次登录redis用户数据不更新问题
|
||||
//此处根据id重新查询
|
||||
|
||||
Reference in New Issue
Block a user