mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 优化 支持多租户绑定相同的三方登录
This commit is contained in:
@ -49,7 +49,7 @@ public interface ISysSocialService {
|
||||
* @param authId 认证ID
|
||||
* @return SysSocial
|
||||
*/
|
||||
SysSocialVo selectByAuthId(String authId);
|
||||
List<SysSocialVo> selectByAuthId(String authId);
|
||||
|
||||
|
||||
}
|
||||
|
@ -99,8 +99,8 @@ public class SysSocialServiceImpl implements ISysSocialService {
|
||||
* @return 授权信息
|
||||
*/
|
||||
@Override
|
||||
public SysSocialVo selectByAuthId(String authId) {
|
||||
return baseMapper.selectVoOne(new LambdaQueryWrapper<SysSocial>().eq(SysSocial::getAuthId, authId));
|
||||
public List<SysSocialVo> selectByAuthId(String authId) {
|
||||
return baseMapper.selectVoList(new LambdaQueryWrapper<SysSocial>().eq(SysSocial::getAuthId, authId));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user