APP菜单权限

This commit is contained in:
秦鸿展
2026-06-29 17:21:09 +08:00
parent d982cc41c3
commit 4afe929020
2 changed files with 48 additions and 8 deletions
@@ -1901,14 +1901,18 @@ public class UserApplicationService {
} catch (Exception e) {
log.warn("同步商城用户失败,但不影响用户保存: {}", e.getMessage());
}
try {
// 截断avatar URLYMS的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 URLYMS的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重新查询