fix: 三方登录的绑定,使用 /system/social-user/get-bind-list 接口
This commit is contained in:
@@ -14,7 +14,7 @@ export interface SocialUserVO {
|
||||
}
|
||||
|
||||
// 查询社交用户列表
|
||||
export const getSocialUserPage = async (params) => {
|
||||
export const getSocialUserPage = async (params: any) => {
|
||||
return await request.get({ url: `/system/social-user/page`, params })
|
||||
}
|
||||
|
||||
@@ -22,3 +22,8 @@ export const getSocialUserPage = async (params) => {
|
||||
export const getSocialUser = async (id: number) => {
|
||||
return await request.get({ url: `/system/social-user/get?id=` + id })
|
||||
}
|
||||
|
||||
// 获得绑定社交用户列表
|
||||
export const getBindSocialUserList = async () => {
|
||||
return await request.get({ url: '/system/social-user/get-bind-list' })
|
||||
}
|
||||
|
||||
@@ -16,10 +16,6 @@ export interface ProfileVO {
|
||||
id: number
|
||||
name: string
|
||||
}[]
|
||||
socialUsers: {
|
||||
type: number
|
||||
openid: string
|
||||
}[]
|
||||
email: string
|
||||
mobile: string
|
||||
sex: number
|
||||
|
||||
Reference in New Issue
Block a user