refactor: 扩展 spring security 实现微信一键登录认证
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user