| | |
| | | public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService { |
| | | |
| | | @Override |
| | | public User getByMobileWithMfa(String mobile) { |
| | | return baseMapper.selectByMobileWithMfa(mobile); |
| | | public User getByMobileWithSecurity(String mobile) { |
| | | return baseMapper.selectByMobileWithSecurity(mobile); |
| | | } |
| | | |
| | | @Override |
| | | public User getByIdWithMfa(Long id) { |
| | | return baseMapper.selectByIdWithMfa(id); |
| | | public User getByIdWithSecurity(Long id) { |
| | | return baseMapper.selectByIdWithSecurity(id); |
| | | } |
| | | |
| | | @Override |
| | | public User getByPasskeyCredentialId(String credentialId) { |
| | | return baseMapper.selectByPasskeyCredentialId(credentialId); |
| | | } |
| | | } |