[feat]:用户微信登录模块
This commit is contained in:
@@ -29,6 +29,8 @@ public interface ISysUserService extends ISuperService<SysUser> {
|
||||
|
||||
SysUser findByMobile(String username);
|
||||
|
||||
SysUser findByWxOpenid(String wxOpenid) throws Exception;
|
||||
|
||||
/**
|
||||
* 通过SysUser 把roles和permissions也查询出来
|
||||
* @param sysUser
|
||||
@@ -55,6 +57,7 @@ public interface ISysUserService extends ISuperService<SysUser> {
|
||||
*/
|
||||
SysUser selectByOpenId(String openId);
|
||||
|
||||
|
||||
/**
|
||||
* 用户分配角色
|
||||
* @param id
|
||||
|
||||
Reference in New Issue
Block a user