1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| export type UserLoginVO = {
| username: string
| password: string
| socialType?: string
| socialCode?: string
| socialState?: string
| }
|
| export type Oauth2TokenVO = {
| clientId: string
| clientSecret: string
| grantType: string
| username: string
| password: string
| scope: string
| }
|
| export type TokenType = {
| id: number // 编号
| accessToken: string // 访问令牌
| refreshToken: string // 刷新令牌
| userId: number // 用户编号
| userType: number //用户类型
| clientId: string //客户端编号
| expiresTime: number //过期时间
| }
|
| export type UserVO = {
| id: number
| username: string
| nickname: string
| deptId: number
| email: string
| mobile: string
| sex: number
| avatar: string
| loginIp: string
| loginDate: string
| }
|
|