mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-14 20:41:38 +08:00
后端获取用户绑定第三方平台接口完成
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user