Merge remote-tracking branch 'origin/master'

This commit is contained in:
chenxiky 2025-08-02 13:17:16 +08:00
commit c0ebe1f047

View File

@ -45,7 +45,7 @@ public class BUserDetailsService implements UserDetailsService {
userDto.setEnabled(true);
userDto.setIsAdmin(false);
// 创建一个 JwtCustomerDto 对象
customerDto = new JwtUserDto(userDto, UserTypeEnum.CUSTOMER, new ArrayList<>(), customerDto.getCustomerType());
customerDto = new JwtUserDto(userDto, UserTypeEnum.CUSTOMER, new ArrayList<>(), customer.getCustomerType());
// 添加缓存数据
userCacheManager.addCustomerCache(username, customerDto);
}