|
|
1
|
+swagger: "2.0"
|
|
|
2
|
+info:
|
|
|
3
|
+ title: ""
|
|
|
4
|
+ description: 天联基础
|
|
|
5
|
+ contact:
|
|
|
6
|
+ name: ""
|
|
|
7
|
+ email: ""
|
|
|
8
|
+ home: ""
|
|
|
9
|
+ version: 0.0.1
|
|
|
10
|
+paths: {}
|
|
|
11
|
+definitions:
|
|
|
12
|
+ LoginAccessGetQrcodeForLoginResponseBody:
|
|
|
13
|
+ title: 'Mediatype identifier: LoginAccessGetQrcodeForLoginResponseBody'
|
|
|
14
|
+ type: object
|
|
|
15
|
+ properties:
|
|
|
16
|
+ authCode:
|
|
|
17
|
+ type: string
|
|
|
18
|
+ description: 登录认证的凭证
|
|
|
19
|
+ imgBase64:
|
|
|
20
|
+ type: string
|
|
|
21
|
+ description: base64形式的二维码图片
|
|
|
22
|
+ loginAccess:
|
|
|
23
|
+ $ref: '#/definitions/loginAccessResponseBody'
|
|
|
24
|
+ LoginAccessLoginByAccountRequestBody:
|
|
|
25
|
+ title: LoginAccessLoginByAccountRequestBody
|
|
|
26
|
+ type: object
|
|
|
27
|
+ properties:
|
|
|
28
|
+ account:
|
|
|
29
|
+ type: string
|
|
|
30
|
+ description: 账号
|
|
|
31
|
+ passwd:
|
|
|
32
|
+ type: string
|
|
|
33
|
+ description: 密码
|
|
|
34
|
+ LoginAccessLoginByAccountResponseBody:
|
|
|
35
|
+ title: 'Mediatype identifier: LoginAccessLoginByAccountResponseBody'
|
|
|
36
|
+ type: object
|
|
|
37
|
+ properties:
|
|
|
38
|
+ authcode:
|
|
|
39
|
+ type: string
|
|
|
40
|
+ description: 登录认证的凭证
|
|
|
41
|
+ loginAccess:
|
|
|
42
|
+ $ref: '#/definitions/loginAccessResponseBody'
|
|
|
43
|
+ LoginAccessLoginByScanQrcodeRequestBody:
|
|
|
44
|
+ title: LoginAccessLoginByScanQrcodeRequestBody
|
|
|
45
|
+ type: object
|
|
|
46
|
+ properties:
|
|
|
47
|
+ authCode:
|
|
|
48
|
+ type: string
|
|
|
49
|
+ description: 登录认证的凭证
|
|
|
50
|
+ LoginAccessLoginByScanQrcodeResponseBody:
|
|
|
51
|
+ title: 'Mediatype identifier: LoginAccessLoginByScanQrcodeResponseBody'
|
|
|
52
|
+ type: object
|
|
|
53
|
+ properties:
|
|
|
54
|
+ accessToken:
|
|
|
55
|
+ type: string
|
|
|
56
|
+ description: 真正的登录凭证
|
|
|
57
|
+ isLogin:
|
|
|
58
|
+ type: string
|
|
|
59
|
+ description: 是否可以登录
|
|
|
60
|
+ loginAccess:
|
|
|
61
|
+ $ref: '#/definitions/loginAccessResponseBody'
|
|
|
62
|
+ LoginAccessLoginBySmsCodeRequestBody:
|
|
|
63
|
+ title: LoginAccessLoginBySmsCodeRequestBody
|
|
|
64
|
+ type: object
|
|
|
65
|
+ properties:
|
|
|
66
|
+ phone:
|
|
|
67
|
+ type: string
|
|
|
68
|
+ description: 手机号
|
|
|
69
|
+ smsCode:
|
|
|
70
|
+ type: string
|
|
|
71
|
+ description: 短信验证码
|
|
|
72
|
+ LoginAccessLoginBySmsCodeResponseBody:
|
|
|
73
|
+ title: 'Mediatype identifier: LoginAccessLoginBySmsCodeResponseBody'
|
|
|
74
|
+ type: object
|
|
|
75
|
+ properties:
|
|
|
76
|
+ authcode:
|
|
|
77
|
+ type: string
|
|
|
78
|
+ description: 登录认证的凭证
|
|
|
79
|
+ loginAccess:
|
|
|
80
|
+ $ref: '#/definitions/loginAccessResponseBody'
|
|
|
81
|
+ LoginAccessLoginInfoByAuthCodeRequestBody:
|
|
|
82
|
+ title: LoginAccessLoginInfoByAuthCodeRequestBody
|
|
|
83
|
+ type: object
|
|
|
84
|
+ properties:
|
|
|
85
|
+ authCode:
|
|
|
86
|
+ type: string
|
|
|
87
|
+ description: 登录认证的凭证
|
|
|
88
|
+ companyId:
|
|
|
89
|
+ type: string
|
|
|
90
|
+ description: 公司id
|
|
|
91
|
+ organizationId:
|
|
|
92
|
+ type: string
|
|
|
93
|
+ description: 组织id
|
|
|
94
|
+ LoginAccessLoginInfoByAuthCodeResponseBody:
|
|
|
95
|
+ title: 'Mediatype identifier: LoginAccessLoginInfoByAuthCodeResponseBody'
|
|
|
96
|
+ type: object
|
|
|
97
|
+ properties:
|
|
|
98
|
+ accessToken:
|
|
|
99
|
+ type: string
|
|
|
100
|
+ description: 登录系统的凭证
|
|
|
101
|
+ loginAccess:
|
|
|
102
|
+ $ref: '#/definitions/loginAccessResponseBody'
|
|
|
103
|
+ loginAccessResponseBody:
|
|
|
104
|
+ title: loginAccessResponseBody
|
|
|
105
|
+ type: object
|
|
|
106
|
+ properties:
|
|
|
107
|
+ accessExpired:
|
|
|
108
|
+ type: integer
|
|
|
109
|
+ description: 登录凭证过期时间,时间戳精度秒
|
|
|
110
|
+ format: int64
|
|
|
111
|
+ accessToken:
|
|
|
112
|
+ type: string
|
|
|
113
|
+ description: 登录凭证存储
|
|
|
114
|
+ account:
|
|
|
115
|
+ type: string
|
|
|
116
|
+ description: 账号
|
|
|
117
|
+ companyId:
|
|
|
118
|
+ type: integer
|
|
|
119
|
+ description: 公司id
|
|
|
120
|
+ format: int64
|
|
|
121
|
+ createdTime:
|
|
|
122
|
+ type: string
|
|
|
123
|
+ description: 创建时间
|
|
|
124
|
+ format: datetime
|
|
|
125
|
+ organizationId:
|
|
|
126
|
+ type: integer
|
|
|
127
|
+ description: 组织id
|
|
|
128
|
+ format: int64
|
|
|
129
|
+ platform:
|
|
|
130
|
+ type: string
|
|
|
131
|
+ description: 对应平台
|
|
|
132
|
+ refreshExpired:
|
|
|
133
|
+ type: integer
|
|
|
134
|
+ description: 刷新登录凭证过期时间,时间戳精度秒
|
|
|
135
|
+ format: int64
|
|
|
136
|
+ refreshToken:
|
|
|
137
|
+ type: string
|
|
|
138
|
+ description: 刷新登录凭证
|
|
|
139
|
+ updatedTime:
|
|
|
140
|
+ type: string
|
|
|
141
|
+ description: 更新时间
|
|
|
142
|
+ format: datetime
|
|
|
143
|
+ description: 登录凭证存储 |