Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c0ebe1f047
@ -45,7 +45,7 @@ public class BUserDetailsService implements UserDetailsService {
|
|||||||
userDto.setEnabled(true);
|
userDto.setEnabled(true);
|
||||||
userDto.setIsAdmin(false);
|
userDto.setIsAdmin(false);
|
||||||
// 创建一个 JwtCustomerDto 对象
|
// 创建一个 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);
|
userCacheManager.addCustomerCache(username, customerDto);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user