提交 | 用户 | 时间
|
820397
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export interface SocialUserVO { |
|
4 |
id: number |
|
5 |
type: number |
|
6 |
openid: string |
|
7 |
token: string |
|
8 |
rawTokenInfo: string |
|
9 |
nickname: string |
|
10 |
avatar: string |
|
11 |
rawUserInfo: string |
|
12 |
code: string |
|
13 |
state: string |
|
14 |
} |
|
15 |
|
|
16 |
// 查询社交用户列表 |
|
17 |
export const getSocialUserPage = async (params) => { |
|
18 |
return await request.get({ url: `/system/social-user/page`, params }) |
|
19 |
} |
|
20 |
|
|
21 |
// 查询社交用户详情 |
|
22 |
export const getSocialUser = async (id: number) => { |
|
23 |
return await request.get({ url: `/system/social-user/get?id=` + id }) |
|
24 |
} |