1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-14 20:41:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

后端获取用户绑定第三方平台接口完成

This commit is contained in:
2022-04-04 22:18:06 +08:00
parent 48f01a0024
commit 9fa00a2788
7 changed files with 99 additions and 12 deletions

View File

@@ -3,8 +3,12 @@ package plus.bookshelf.Service.Service;
import me.zhyd.oauth.model.AuthResponse;
import org.springframework.transaction.annotation.Transactional;
import plus.bookshelf.Common.Error.BusinessException;
import plus.bookshelf.Service.Model.ThirdPartyUserModel;
import plus.bookshelf.Service.Model.UserModel;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
public interface ThirdPartyUserService {
/**
@@ -25,4 +29,11 @@ public interface ThirdPartyUserService {
*/
@Transactional
Boolean bindThirdPartAccountCallback(AuthResponse authResponse, String token) throws BusinessException;
/**
* 获取用户登录的所有第三方平台信息
* @param token
* @return
*/
List<ThirdPartyUserModel> getBindingStatus(String token) throws BusinessException, InvocationTargetException, IllegalAccessException;
}