refactor: 扩展 spring security 实现微信一键登录认证

This commit is contained in:
haoxr
2024-12-03 17:15:58 +08:00
parent db3da6b1dc
commit f3a32821ea
13 changed files with 391 additions and 102 deletions

View File

@@ -48,6 +48,14 @@ public interface UserMapper extends BaseMapper<User> {
*/
UserAuthInfo getUserAuthInfo(String username);
/**
* 根据微信openid获取用户认证信息
*
* @param openid 微信openid
* @return
*/
UserAuthInfo getUserAuthInfoByOpenId(String openid);
/**
* 获取导出用户列表
*
@@ -64,4 +72,6 @@ public interface UserMapper extends BaseMapper<User> {
* @return
*/
UserBO getUserProfile(Long userId);
}