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
|
- AuthCompanySignUpRequestBody:
|
|
|
13
|
- title: AuthCompanySignUpRequestBody
|
|
|
14
|
- type: object
|
|
|
15
|
- properties:
|
|
|
16
|
- companyName:
|
|
|
17
|
- type: string
|
|
|
18
|
- description: 企业名称
|
|
|
19
|
- required:
|
|
|
20
|
- - companyName
|
|
|
21
|
- contacts:
|
|
|
22
|
- type: string
|
|
|
23
|
- description: 联系人
|
|
|
24
|
- required:
|
|
|
25
|
- - contacts
|
|
|
26
|
- industryCategory:
|
|
|
27
|
- type: string
|
|
|
28
|
- description: 所属行业
|
|
|
29
|
- required:
|
|
|
30
|
- - industryCategory
|
|
|
31
|
- password:
|
|
|
32
|
- type: string
|
|
|
33
|
- description: 密码
|
|
|
34
|
- required:
|
|
|
35
|
- - password
|
|
|
36
|
- phone:
|
|
|
37
|
- type: string
|
|
|
38
|
- description: 手机号码
|
|
|
39
|
- required:
|
|
|
40
|
- - phone
|
|
|
41
|
- scale:
|
|
|
42
|
- type: string
|
|
|
43
|
- description: 规模
|
|
|
44
|
- required:
|
|
|
45
|
- - scale
|
|
|
46
|
- AuthCompanySignUpResponseBody:
|
|
|
47
|
- title: 'Mediatype identifier: AuthCompanySignUpResponseBody'
|
|
|
48
|
- type: object
|
|
|
49
|
- properties:
|
|
|
50
|
- code:
|
|
|
51
|
- type: integer
|
|
|
52
|
- required:
|
|
|
53
|
- - code
|
|
|
54
|
- msg:
|
|
|
55
|
- type: string
|
|
|
56
|
- required:
|
|
|
57
|
- - msg
|
|
|
58
|
- AuthDestoryAccountRequestBody:
|
|
|
59
|
- title: AuthDestoryAccountRequestBody
|
|
|
60
|
- type: object
|
|
|
61
|
- properties:
|
|
|
62
|
- usersId:
|
|
|
63
|
- type: integer
|
|
|
64
|
- description: 用户编号
|
|
|
65
|
- required:
|
|
|
66
|
- - usersId
|
|
|
67
|
- AuthDestoryAccountResponseBody:
|
|
|
68
|
- title: 'Mediatype identifier: AuthDestoryAccountResponseBody'
|
|
|
69
|
- type: object
|
|
|
70
|
- properties:
|
|
|
71
|
- code:
|
|
|
72
|
- type: integer
|
|
|
73
|
- required:
|
|
|
74
|
- - code
|
|
|
75
|
- msg:
|
|
|
76
|
- type: string
|
|
|
77
|
- required:
|
|
|
78
|
- - msg
|
|
|
79
|
- AuthPhoneAuthCheckRequestBody:
|
|
|
80
|
- title: AuthPhoneAuthCheckRequestBody
|
|
|
81
|
- type: object
|
|
|
82
|
- properties:
|
|
|
83
|
- password:
|
|
|
84
|
- type: string
|
|
|
85
|
- description: 密码
|
|
|
86
|
- required:
|
|
|
87
|
- - password
|
|
|
88
|
- phone:
|
|
|
89
|
- type: string
|
|
|
90
|
- description: 手机号码
|
|
|
91
|
- required:
|
|
|
92
|
- - phone
|
|
|
93
|
- AuthPhoneAuthCheckResponseBody:
|
|
|
94
|
- title: 'Mediatype identifier: AuthPhoneAuthCheckResponseBody'
|
|
|
95
|
- type: object
|
|
|
96
|
- properties:
|
|
|
97
|
- code:
|
|
|
98
|
- type: integer
|
|
|
99
|
- required:
|
|
|
100
|
- - code
|
|
|
101
|
- msg:
|
|
|
102
|
- type: string
|
|
|
103
|
- required:
|
|
|
104
|
- - msg
|
|
|
105
|
- AuthPhoneAuthResetPasswordRequestBody:
|
|
|
106
|
- title: AuthPhoneAuthResetPasswordRequestBody
|
|
|
107
|
- type: object
|
|
|
108
|
- properties:
|
|
|
109
|
- password:
|
|
|
110
|
- type: string
|
|
|
111
|
- description: 密码
|
|
|
112
|
- required:
|
|
|
113
|
- - password
|
|
|
114
|
- phone:
|
|
|
115
|
- type: string
|
|
|
116
|
- description: 手机号码
|
|
|
117
|
- required:
|
|
|
118
|
- - phone
|
|
|
119
|
- AuthPhoneAuthResetPasswordResponseBody:
|
|
|
120
|
- title: 'Mediatype identifier: AuthPhoneAuthResetPasswordResponseBody'
|
|
|
121
|
- type: object
|
|
|
122
|
- properties:
|
|
|
123
|
- msg:
|
|
|
124
|
- type: string
|
|
|
125
|
- description: 消息
|
|
|
126
|
- MenuCreateMenuRequestBody:
|
|
|
127
|
- title: MenuCreateMenuRequestBody
|
|
|
128
|
- type: object
|
|
|
129
|
- properties:
|
|
|
130
|
- accessCode:
|
|
|
131
|
- type: string
|
|
|
132
|
- description: 权限编码 users:edit
|
|
|
133
|
- required:
|
|
|
134
|
- - accessCode
|
|
|
135
|
- code:
|
|
|
136
|
- type: string
|
|
|
137
|
- description: 菜单编码 SYSTEM_USER_EDIT / 100101 (字符编码)
|
|
|
138
|
- required:
|
|
|
139
|
- - code
|
|
|
140
|
- enableStatus:
|
|
|
141
|
- type: integer
|
|
|
142
|
- description: 启用状态(启用:1 禁用:0)
|
|
|
143
|
- required:
|
|
|
144
|
- - enableStatus
|
|
|
145
|
- icon:
|
|
|
146
|
- type: string
|
|
|
147
|
- description: 菜单图标
|
|
|
148
|
- isPublish:
|
|
|
149
|
- type: integer
|
|
|
150
|
- description: 菜单是否公开状态,[0:隐藏],[1:显示],默认显示
|
|
|
151
|
- required:
|
|
|
152
|
- - isPublish
|
|
|
153
|
- menuName:
|
|
|
154
|
- type: string
|
|
|
155
|
- description: 菜单名称
|
|
|
156
|
- required:
|
|
|
157
|
- - menuName
|
|
|
158
|
- menuType:
|
|
|
159
|
- type: string
|
|
|
160
|
- description: 菜单类型 (目录catalog、菜单menu、按钮button)
|
|
|
161
|
- required:
|
|
|
162
|
- - menuType
|
|
|
163
|
- parentId:
|
|
|
164
|
- type: integer
|
|
|
165
|
- description: 父级id
|
|
|
166
|
- format: int64
|
|
|
167
|
- remark:
|
|
|
168
|
- type: string
|
|
|
169
|
- description: 菜单说明
|
|
|
170
|
- sort:
|
|
|
171
|
- type: integer
|
|
|
172
|
- description: 排序
|
|
|
173
|
- required:
|
|
|
174
|
- - sort
|
|
|
175
|
- MenuCreateMenuResponseBody:
|
|
|
176
|
- title: 'Mediatype identifier: MenuCreateMenuResponseBody'
|
|
|
177
|
- type: object
|
|
|
178
|
- properties:
|
|
|
179
|
- menu:
|
|
|
180
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
181
|
- MenuGetMenuResponseBody:
|
|
|
182
|
- title: 'Mediatype identifier: MenuGetMenuResponseBody'
|
|
|
183
|
- type: object
|
|
|
184
|
- properties:
|
|
|
185
|
- menu:
|
|
|
186
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
187
|
- MenuListMenuResponseBody:
|
|
|
188
|
- title: 'Mediatype identifier: MenuListMenuResponseBody'
|
|
|
189
|
- type: object
|
|
|
190
|
- properties:
|
|
|
191
|
- count:
|
|
|
192
|
- type: integer
|
|
|
193
|
- description: 匹配数目
|
|
|
194
|
- required:
|
|
|
195
|
- - count
|
|
|
196
|
- menus:
|
|
|
197
|
- type: array
|
|
|
198
|
- items:
|
|
|
199
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
200
|
- required:
|
|
|
201
|
- - menus
|
|
|
202
|
- MenuRemoveMenuResponseBody:
|
|
|
203
|
- title: 'Mediatype identifier: MenuRemoveMenuResponseBody'
|
|
|
204
|
- type: object
|
|
|
205
|
- properties:
|
|
|
206
|
- menu:
|
|
|
207
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
208
|
- MenuUpdateMenuRequestBody:
|
|
|
209
|
- title: MenuUpdateMenuRequestBody
|
|
|
210
|
- type: object
|
|
|
211
|
- properties:
|
|
|
212
|
- accessCode:
|
|
|
213
|
- type: string
|
|
|
214
|
- description: 权限编码 users:edit
|
|
|
215
|
- code:
|
|
|
216
|
- type: string
|
|
|
217
|
- description: 菜单编码 SYSTEM_USER_EDIT / 100101 (字符编码)
|
|
|
218
|
- required:
|
|
|
219
|
- - code
|
|
|
220
|
- enableStatus:
|
|
|
221
|
- type: integer
|
|
|
222
|
- description: 启用状态(启用:1 禁用:0)
|
|
|
223
|
- required:
|
|
|
224
|
- - enableStatus
|
|
|
225
|
- icon:
|
|
|
226
|
- type: string
|
|
|
227
|
- description: 菜单图标
|
|
|
228
|
- isPublish:
|
|
|
229
|
- type: integer
|
|
|
230
|
- description: 菜单是否公开状态,[0:隐藏],[1:显示],默认显示
|
|
|
231
|
- format: int64
|
|
|
232
|
- menuName:
|
|
|
233
|
- type: string
|
|
|
234
|
- description: 菜单名称
|
|
|
235
|
- required:
|
|
|
236
|
- - menuName
|
|
|
237
|
- menuType:
|
|
|
238
|
- type: string
|
|
|
239
|
- description: 菜单类型 (目录catalog、菜单menu、按钮button)
|
|
|
240
|
- required:
|
|
|
241
|
- - menuType
|
|
|
242
|
- remark:
|
|
|
243
|
- type: string
|
|
|
244
|
- description: 菜单说明
|
|
|
245
|
- sort:
|
|
|
246
|
- type: integer
|
|
|
247
|
- description: 排序
|
|
|
248
|
- required:
|
|
|
249
|
- - sort
|
|
|
250
|
- MenuUpdateMenuResponseBody:
|
|
|
251
|
- title: 'Mediatype identifier: MenuUpdateMenuResponseBody'
|
|
|
252
|
- type: object
|
|
|
253
|
- properties:
|
|
|
254
|
- menu:
|
|
|
255
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
256
|
- OrgCreateOrgRequestBody:
|
|
|
257
|
- title: OrgCreateOrgRequestBody
|
|
|
258
|
- type: object
|
|
|
259
|
- properties:
|
|
|
260
|
- companyId:
|
|
|
261
|
- type: integer
|
|
|
262
|
- description: 企业id
|
|
|
263
|
- required:
|
|
|
264
|
- - companyId
|
|
|
265
|
- isOrg:
|
|
|
266
|
- type: string
|
|
|
267
|
- required:
|
|
|
268
|
- - isOrg
|
|
|
269
|
- orgCode:
|
|
|
270
|
- type: string
|
|
|
271
|
- description: 组织编码
|
|
|
272
|
- required:
|
|
|
273
|
- - orgCode
|
|
|
274
|
- orgName:
|
|
|
275
|
- type: string
|
|
|
276
|
- description: 组织名称
|
|
|
277
|
- required:
|
|
|
278
|
- - orgName
|
|
|
279
|
- parentId:
|
|
|
280
|
- type: integer
|
|
|
281
|
- description: 父级ID
|
|
|
282
|
- required:
|
|
|
283
|
- - parentId
|
|
|
284
|
- OrgCreateOrgResponseBody:
|
|
|
285
|
- title: 'Mediatype identifier: OrgCreateOrgResponseBody'
|
|
|
286
|
- type: object
|
|
|
287
|
- properties:
|
|
|
288
|
- org:
|
|
|
289
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
290
|
- OrgGetOrgResponseBody:
|
|
|
291
|
- title: 'Mediatype identifier: OrgGetOrgResponseBody'
|
|
|
292
|
- type: object
|
|
|
293
|
- properties:
|
|
|
294
|
- org:
|
|
|
295
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
296
|
- OrgGetOrgSubDepartmentResponseBody:
|
|
|
297
|
- title: 'Mediatype identifier: OrgGetOrgSubDepartmentResponseBody'
|
|
|
298
|
- type: object
|
|
|
299
|
- properties:
|
|
|
300
|
- org:
|
|
|
301
|
- type: array
|
|
|
302
|
- items:
|
|
|
303
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
304
|
- required:
|
|
|
305
|
- - org
|
|
|
306
|
- OrgListOrgResponseBody:
|
|
|
307
|
- title: 'Mediatype identifier: OrgListOrgResponseBody'
|
|
|
308
|
- type: object
|
|
|
309
|
- properties:
|
|
|
310
|
- count:
|
|
|
311
|
- type: integer
|
|
|
312
|
- description: 匹配数目
|
|
|
313
|
- required:
|
|
|
314
|
- - count
|
|
|
315
|
- orgs:
|
|
|
316
|
- type: array
|
|
|
317
|
- items:
|
|
|
318
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
319
|
- required:
|
|
|
320
|
- - orgs
|
|
|
321
|
- OrgRemoveOrgResponseBody:
|
|
|
322
|
- title: 'Mediatype identifier: OrgRemoveOrgResponseBody'
|
|
|
323
|
- type: object
|
|
|
324
|
- properties:
|
|
|
325
|
- org:
|
|
|
326
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
327
|
- OrgUpdateOrgRequestBody:
|
|
|
328
|
- title: OrgUpdateOrgRequestBody
|
|
|
329
|
- type: object
|
|
|
330
|
- properties:
|
|
|
331
|
- isOrg:
|
|
|
332
|
- type: string
|
|
|
333
|
- required:
|
|
|
334
|
- - isOrg
|
|
|
335
|
- orgCode:
|
|
|
336
|
- type: string
|
|
|
337
|
- description: 组织编码
|
|
|
338
|
- required:
|
|
|
339
|
- - orgCode
|
|
|
340
|
- orgName:
|
|
|
341
|
- type: string
|
|
|
342
|
- description: 组织名称
|
|
|
343
|
- required:
|
|
|
344
|
- - orgName
|
|
|
345
|
- parentId:
|
|
|
346
|
- type: integer
|
|
|
347
|
- description: 父级ID
|
|
|
348
|
- required:
|
|
|
349
|
- - parentId
|
|
|
350
|
- OrgUpdateOrgResponseBody:
|
|
|
351
|
- title: 'Mediatype identifier: OrgUpdateOrgResponseBody'
|
|
|
352
|
- type: object
|
|
|
353
|
- properties:
|
|
|
354
|
- org:
|
|
|
355
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
356
|
- RoleAssginRoleToUsersRequestBody:
|
|
|
357
|
- title: RoleAssginRoleToUsersRequestBody
|
|
|
358
|
- type: object
|
|
|
359
|
- properties:
|
|
|
360
|
- roleId:
|
|
|
361
|
- type: integer
|
|
|
362
|
- description: 角色ID
|
|
|
363
|
- required:
|
|
|
364
|
- - roleId
|
|
|
365
|
- usersIds:
|
|
|
366
|
- type: array
|
|
|
367
|
- items:
|
|
|
368
|
- type: integer
|
|
|
369
|
- format: int64
|
|
|
370
|
- description: 用户列表
|
|
|
371
|
- RoleAssginRoleToUsersResponseBody:
|
|
|
372
|
- title: 'Mediatype identifier: RoleAssginRoleToUsersResponseBody'
|
|
|
373
|
- type: object
|
|
|
374
|
- properties:
|
|
|
375
|
- code:
|
|
|
376
|
- type: integer
|
|
|
377
|
- required:
|
|
|
378
|
- - code
|
|
|
379
|
- msg:
|
|
|
380
|
- type: string
|
|
|
381
|
- required:
|
|
|
382
|
- - msg
|
|
|
383
|
- RoleCreateRoleRequestBody:
|
|
|
384
|
- title: RoleCreateRoleRequestBody
|
|
|
385
|
- type: object
|
|
|
386
|
- properties:
|
|
|
387
|
- desc:
|
|
|
388
|
- type: integer
|
|
|
389
|
- description: 描述
|
|
|
390
|
- format: int64
|
|
|
391
|
- roleName:
|
|
|
392
|
- type: string
|
|
|
393
|
- description: 角色名称
|
|
|
394
|
- required:
|
|
|
395
|
- - roleName
|
|
|
396
|
- RoleCreateRoleResponseBody:
|
|
|
397
|
- title: 'Mediatype identifier: RoleCreateRoleResponseBody'
|
|
|
398
|
- type: object
|
|
|
399
|
- properties:
|
|
|
400
|
- role:
|
|
|
401
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
402
|
- RoleGetRoleAccessMenusResponseBody:
|
|
|
403
|
- title: 'Mediatype identifier: RoleGetRoleAccessMenusResponseBody'
|
|
|
404
|
- type: object
|
|
|
405
|
- properties:
|
|
|
406
|
- accessMenus:
|
|
|
407
|
- type: array
|
|
|
408
|
- items:
|
|
|
409
|
- type: integer
|
|
|
410
|
- format: int64
|
|
|
411
|
- required:
|
|
|
412
|
- - accessMenus
|
|
|
413
|
- RoleGetRoleRelatedUsersResponseBody:
|
|
|
414
|
- title: 'Mediatype identifier: RoleGetRoleRelatedUsersResponseBody'
|
|
|
415
|
- type: object
|
|
|
416
|
- properties:
|
|
|
417
|
- role:
|
|
|
418
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
419
|
- RoleGetRoleResponseBody:
|
|
|
420
|
- title: 'Mediatype identifier: RoleGetRoleResponseBody'
|
|
|
421
|
- type: object
|
|
|
422
|
- properties:
|
|
|
423
|
- role:
|
|
|
424
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
425
|
- RoleListRoleResponseBody:
|
|
|
426
|
- title: 'Mediatype identifier: RoleListRoleResponseBody'
|
|
|
427
|
- type: object
|
|
|
428
|
- properties:
|
|
|
429
|
- count:
|
|
|
430
|
- type: integer
|
|
|
431
|
- description: 匹配数目
|
|
|
432
|
- required:
|
|
|
433
|
- - count
|
|
|
434
|
- roles:
|
|
|
435
|
- type: array
|
|
|
436
|
- items:
|
|
|
437
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
438
|
- required:
|
|
|
439
|
- - roles
|
|
|
440
|
- RoleRemoveRoleResponseBody:
|
|
|
441
|
- title: 'Mediatype identifier: RoleRemoveRoleResponseBody'
|
|
|
442
|
- type: object
|
|
|
443
|
- properties:
|
|
|
444
|
- role:
|
|
|
445
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
446
|
- RoleUnAssginRoleToUsersRequestBody:
|
|
|
447
|
- title: RoleUnAssginRoleToUsersRequestBody
|
|
|
448
|
- type: object
|
|
|
449
|
- properties:
|
|
|
450
|
- roleId:
|
|
|
451
|
- type: integer
|
|
|
452
|
- description: 角色ID
|
|
|
453
|
- required:
|
|
|
454
|
- - roleId
|
|
|
455
|
- usersIds:
|
|
|
456
|
- type: array
|
|
|
457
|
- items:
|
|
|
458
|
- type: integer
|
|
|
459
|
- format: int64
|
|
|
460
|
- description: 用户列表
|
|
|
461
|
- RoleUnAssginRoleToUsersResponseBody:
|
|
|
462
|
- title: 'Mediatype identifier: RoleUnAssginRoleToUsersResponseBody'
|
|
|
463
|
- type: object
|
|
|
464
|
- properties:
|
|
|
465
|
- code:
|
|
|
466
|
- type: integer
|
|
|
467
|
- required:
|
|
|
468
|
- - code
|
|
|
469
|
- msg:
|
|
|
470
|
- type: string
|
|
|
471
|
- required:
|
|
|
472
|
- - msg
|
|
|
473
|
- RoleUpdateRoleAccessMenusRequestBody:
|
|
|
474
|
- title: RoleUpdateRoleAccessMenusRequestBody
|
|
|
475
|
- type: object
|
|
|
476
|
- properties:
|
|
|
477
|
- accessMenus:
|
|
|
478
|
- type: array
|
|
|
479
|
- items:
|
|
|
480
|
- type: integer
|
|
|
481
|
- format: int64
|
|
|
482
|
- description: 菜单编号列表
|
|
|
483
|
- RoleUpdateRoleAccessMenusResponseBody:
|
|
|
484
|
- title: 'Mediatype identifier: RoleUpdateRoleAccessMenusResponseBody'
|
|
|
485
|
- type: object
|
|
|
486
|
- properties:
|
|
|
487
|
- role:
|
|
|
488
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
489
|
- RoleUpdateRoleRequestBody:
|
|
|
490
|
- title: RoleUpdateRoleRequestBody
|
|
|
491
|
- type: object
|
|
|
492
|
- properties:
|
|
|
493
|
- desc:
|
|
|
494
|
- type: integer
|
|
|
495
|
- description: 描述
|
|
|
496
|
- format: int64
|
|
|
497
|
- roleName:
|
|
|
498
|
- type: string
|
|
|
499
|
- description: 角色名称
|
|
|
500
|
- required:
|
|
|
501
|
- - roleName
|
|
|
502
|
- RoleUpdateRoleResponseBody:
|
|
|
503
|
- title: 'Mediatype identifier: RoleUpdateRoleResponseBody'
|
|
|
504
|
- type: object
|
|
|
505
|
- properties:
|
|
|
506
|
- role:
|
|
|
507
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
508
|
- UsersBatchAddRequestBody:
|
|
|
509
|
- title: UsersBatchAddRequestBody
|
|
|
510
|
- type: object
|
|
|
511
|
- properties:
|
|
|
512
|
- users:
|
|
|
513
|
- type: array
|
|
|
514
|
- items:
|
|
|
515
|
- $ref: '#/definitions/usersRequestBody'
|
|
|
516
|
- description: 用户列表
|
|
|
517
|
- usersType:
|
|
|
518
|
- type: integer
|
|
|
519
|
- description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
|
|
|
520
|
- required:
|
|
|
521
|
- - usersType
|
|
|
522
|
- UsersBatchAddResponseBody:
|
|
|
523
|
- title: 'Mediatype identifier: UsersBatchAddResponseBody'
|
|
|
524
|
- type: object
|
|
|
525
|
- properties:
|
|
|
526
|
- code:
|
|
|
527
|
- type: integer
|
|
|
528
|
- required:
|
|
|
529
|
- - code
|
|
|
530
|
- msg:
|
|
|
531
|
- type: string
|
|
|
532
|
- required:
|
|
|
533
|
- - msg
|
|
|
534
|
- UsersBatchEnableRequestBody:
|
|
|
535
|
- title: UsersBatchEnableRequestBody
|
|
|
536
|
- type: object
|
|
|
537
|
- properties:
|
|
|
538
|
- enableStatus:
|
|
|
539
|
- type: integer
|
|
|
540
|
- description: 启用状态(启用:1 禁用:2 注销:3)
|
|
|
541
|
- required:
|
|
|
542
|
- - enableStatus
|
|
|
543
|
- usersIds:
|
|
|
544
|
- type: array
|
|
|
545
|
- items:
|
|
|
546
|
- type: integer
|
|
|
547
|
- format: int64
|
|
|
548
|
- required:
|
|
|
549
|
- - usersIds
|
|
|
550
|
- UsersBatchEnableResponseBody:
|
|
|
551
|
- title: 'Mediatype identifier: UsersBatchEnableResponseBody'
|
|
|
552
|
- type: object
|
|
|
553
|
- properties:
|
|
|
554
|
- code:
|
|
|
555
|
- type: integer
|
|
|
556
|
- required:
|
|
|
557
|
- - code
|
|
|
558
|
- msg:
|
|
|
559
|
- type: string
|
|
|
560
|
- required:
|
|
|
561
|
- - msg
|
|
|
562
|
- UsersBatchResetPasswordRequestBody:
|
|
|
563
|
- title: UsersBatchResetPasswordRequestBody
|
|
|
564
|
- type: object
|
|
|
565
|
- properties:
|
|
|
566
|
- password:
|
|
|
567
|
- type: string
|
|
|
568
|
- description: 密码
|
|
|
569
|
- required:
|
|
|
570
|
- - password
|
|
|
571
|
- usersIds:
|
|
|
572
|
- type: array
|
|
|
573
|
- items:
|
|
|
574
|
- type: integer
|
|
|
575
|
- format: int64
|
|
|
576
|
- required:
|
|
|
577
|
- - usersIds
|
|
|
578
|
- UsersBatchResetPasswordResponseBody:
|
|
|
579
|
- title: 'Mediatype identifier: UsersBatchResetPasswordResponseBody'
|
|
|
580
|
- type: object
|
|
|
581
|
- properties:
|
|
|
582
|
- code:
|
|
|
583
|
- type: integer
|
|
|
584
|
- required:
|
|
|
585
|
- - code
|
|
|
586
|
- msg:
|
|
|
587
|
- type: string
|
|
|
588
|
- required:
|
|
|
589
|
- - msg
|
|
|
590
|
- UsersCreateUsersRequestBody:
|
|
|
591
|
- title: UsersCreateUsersRequestBody
|
|
|
592
|
- type: object
|
|
|
593
|
- properties:
|
|
|
594
|
- companyId:
|
|
|
595
|
- type: integer
|
|
|
596
|
- description: 企业id
|
|
|
597
|
- required:
|
|
|
598
|
- - companyId
|
|
|
599
|
- cooperationInfo:
|
|
|
600
|
- $ref: '#/definitions/cooperationInfoRequestBody'
|
|
|
601
|
- departmentId:
|
|
|
602
|
- type: integer
|
|
|
603
|
- description: 所属部门
|
|
|
604
|
- format: int64
|
|
|
605
|
- enableStatus:
|
|
|
606
|
- type: integer
|
|
|
607
|
- description: 启用状态(启用:1 禁用:2)
|
|
|
608
|
- format: int64
|
|
|
609
|
- organizationId:
|
|
|
610
|
- type: integer
|
|
|
611
|
- description: 组织机构
|
|
|
612
|
- format: int64
|
|
|
613
|
- usersCode:
|
|
|
614
|
- type: string
|
|
|
615
|
- description: 用户编号
|
|
|
616
|
- required:
|
|
|
617
|
- - usersCode
|
|
|
618
|
- usersOrg:
|
|
|
619
|
- type: array
|
|
|
620
|
- items:
|
|
|
621
|
- $ref: '#/definitions/orgRequestBody'
|
|
|
622
|
- description: 用户关联的组织
|
|
|
623
|
- usersRole:
|
|
|
624
|
- type: array
|
|
|
625
|
- items:
|
|
|
626
|
- $ref: '#/definitions/roleRequestBody'
|
|
|
627
|
- description: 用户关联的角色
|
|
|
628
|
- usersType:
|
|
|
629
|
- type: integer
|
|
|
630
|
- description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
|
|
|
631
|
- required:
|
|
|
632
|
- - usersType
|
|
|
633
|
- UsersCreateUsersResponseBody:
|
|
|
634
|
- title: 'Mediatype identifier: UsersCreateUsersResponseBody'
|
|
|
635
|
- type: object
|
|
|
636
|
- properties:
|
|
|
637
|
- users:
|
|
|
638
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
639
|
- UsersFavoriteMenusDeleteFavoriteMenusResponseBody:
|
|
|
640
|
- title: 'Mediatype identifier: UsersFavoriteMenusDeleteFavoriteMenusResponseBody'
|
|
|
641
|
- type: object
|
|
|
642
|
- properties:
|
|
|
643
|
- code:
|
|
|
644
|
- type: integer
|
|
|
645
|
- required:
|
|
|
646
|
- - code
|
|
|
647
|
- msg:
|
|
|
648
|
- type: string
|
|
|
649
|
- required:
|
|
|
650
|
- - msg
|
|
|
651
|
- UsersFavoriteMenusGetFavoriteMenusResponseBody:
|
|
|
652
|
- title: 'Mediatype identifier: UsersFavoriteMenusGetFavoriteMenusResponseBody'
|
|
|
653
|
- type: object
|
|
|
654
|
- properties:
|
|
|
655
|
- users:
|
|
|
656
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
657
|
- UsersFavoriteMenusUpdateFavoriteMenusRequestBody:
|
|
|
658
|
- title: UsersFavoriteMenusUpdateFavoriteMenusRequestBody
|
|
|
659
|
- type: object
|
|
|
660
|
- properties:
|
|
|
661
|
- favoriteMenus:
|
|
|
662
|
- type: array
|
|
|
663
|
- items:
|
|
|
664
|
- type: string
|
|
|
665
|
- description: 菜单编码列表
|
|
|
666
|
- UsersFavoriteMenusUpdateFavoriteMenusResponseBody:
|
|
|
667
|
- title: 'Mediatype identifier: UsersFavoriteMenusUpdateFavoriteMenusResponseBody'
|
|
|
668
|
- type: object
|
|
|
669
|
- properties:
|
|
|
670
|
- code:
|
|
|
671
|
- type: integer
|
|
|
672
|
- required:
|
|
|
673
|
- - code
|
|
|
674
|
- msg:
|
|
|
675
|
- type: string
|
|
|
676
|
- required:
|
|
|
677
|
- - msg
|
|
|
678
|
- UsersGetUsersAccessMenusResponseBody:
|
|
|
679
|
- title: 'Mediatype identifier: UsersGetUsersAccessMenusResponseBody'
|
|
|
680
|
- type: object
|
|
|
681
|
- properties:
|
|
|
682
|
- menus:
|
|
|
683
|
- type: array
|
|
|
684
|
- items:
|
|
|
685
|
- $ref: '#/definitions/menuResponseBody'
|
|
|
686
|
- required:
|
|
|
687
|
- - menus
|
|
|
688
|
- UsersGetUsersBaseInfoResponseBody:
|
|
|
689
|
- title: 'Mediatype identifier: UsersGetUsersBaseInfoResponseBody'
|
|
|
690
|
- type: object
|
|
|
691
|
- properties:
|
|
|
692
|
- users:
|
|
|
693
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
694
|
- UsersGetUsersResponseBody:
|
|
|
695
|
- title: 'Mediatype identifier: UsersGetUsersResponseBody'
|
|
|
696
|
- type: object
|
|
|
697
|
- properties:
|
|
|
698
|
- users:
|
|
|
699
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
700
|
- UsersListUsersResponseBody:
|
|
|
701
|
- title: 'Mediatype identifier: UsersListUsersResponseBody'
|
|
|
702
|
- type: object
|
|
|
703
|
- properties:
|
|
|
704
|
- count:
|
|
|
705
|
- type: integer
|
|
|
706
|
- description: 匹配数目
|
|
|
707
|
- required:
|
|
|
708
|
- - count
|
|
|
709
|
- users:
|
|
|
710
|
- type: array
|
|
|
711
|
- items:
|
|
|
712
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
713
|
- required:
|
|
|
714
|
- - users
|
|
|
715
|
- UsersRemoveUsersResponseBody:
|
|
|
716
|
- title: 'Mediatype identifier: UsersRemoveUsersResponseBody'
|
|
|
717
|
- type: object
|
|
|
718
|
- properties:
|
|
|
719
|
- users:
|
|
|
720
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
721
|
- UsersUpdateUsersPhoneAuthRequestBody:
|
|
|
722
|
- title: UsersUpdateUsersPhoneAuthRequestBody
|
|
|
723
|
- type: object
|
|
|
724
|
- properties:
|
|
|
725
|
- password:
|
|
|
726
|
- type: string
|
|
|
727
|
- description: 密码
|
|
|
728
|
- phone:
|
|
|
729
|
- type: string
|
|
|
730
|
- description: 手机号码
|
|
|
731
|
- UsersUpdateUsersPhoneAuthResponseBody:
|
|
|
732
|
- title: 'Mediatype identifier: UsersUpdateUsersPhoneAuthResponseBody'
|
|
|
733
|
- type: object
|
|
|
734
|
- properties:
|
|
|
735
|
- code:
|
|
|
736
|
- type: integer
|
|
|
737
|
- required:
|
|
|
738
|
- - code
|
|
|
739
|
- msg:
|
|
|
740
|
- type: string
|
|
|
741
|
- required:
|
|
|
742
|
- - msg
|
|
|
743
|
- UsersUpdateUsersRequestBody:
|
|
|
744
|
- title: UsersUpdateUsersRequestBody
|
|
|
745
|
- type: object
|
|
|
746
|
- properties:
|
|
|
747
|
- cooperationInfo:
|
|
|
748
|
- $ref: '#/definitions/cooperationInfoRequestBody'
|
|
|
749
|
- departmentId:
|
|
|
750
|
- type: integer
|
|
|
751
|
- description: 所属部门
|
|
|
752
|
- format: int64
|
|
|
753
|
- enableStatus:
|
|
|
754
|
- type: integer
|
|
|
755
|
- description: 启用状态(启用:1 禁用:2)
|
|
|
756
|
- format: int64
|
|
|
757
|
- organizationId:
|
|
|
758
|
- type: integer
|
|
|
759
|
- description: 组织机构
|
|
|
760
|
- format: int64
|
|
|
761
|
- usersCode:
|
|
|
762
|
- type: string
|
|
|
763
|
- description: 用户编号
|
|
|
764
|
- required:
|
|
|
765
|
- - usersCode
|
|
|
766
|
- usersOrg:
|
|
|
767
|
- type: array
|
|
|
768
|
- items:
|
|
|
769
|
- $ref: '#/definitions/orgRequestBody'
|
|
|
770
|
- description: 用户关联的组织
|
|
|
771
|
- usersRole:
|
|
|
772
|
- type: array
|
|
|
773
|
- items:
|
|
|
774
|
- $ref: '#/definitions/roleRequestBody'
|
|
|
775
|
- description: 用户关联的角色
|
|
|
776
|
- UsersUpdateUsersResponseBody:
|
|
|
777
|
- title: 'Mediatype identifier: UsersUpdateUsersResponseBody'
|
|
|
778
|
- type: object
|
|
|
779
|
- properties:
|
|
|
780
|
- users:
|
|
|
781
|
- $ref: '#/definitions/usersResponseBody'
|
|
|
782
|
- cooperationInfoRequestBody:
|
|
|
783
|
- title: cooperationInfoRequestBody
|
|
|
784
|
- type: object
|
|
|
785
|
- properties:
|
|
|
786
|
- cooperationCompany:
|
|
|
787
|
- type: string
|
|
|
788
|
- description: 共创公司
|
|
|
789
|
- cooperationDeadline:
|
|
|
790
|
- type: string
|
|
|
791
|
- description: 共创到期时间 (yyyy-MM-dd)
|
|
|
792
|
- format: datetime
|
|
|
793
|
- description: 共创信息
|
|
|
794
|
- cooperationInfoResponseBody:
|
|
|
795
|
- title: cooperationInfoResponseBody
|
|
|
796
|
- type: object
|
|
|
797
|
- properties:
|
|
|
798
|
- cooperationCompany:
|
|
|
799
|
- type: string
|
|
|
800
|
- description: 共创公司
|
|
|
801
|
- cooperationDeadline:
|
|
|
802
|
- type: string
|
|
|
803
|
- description: 共创到期时间 (yyyy-MM-dd)
|
|
|
804
|
- format: datetime
|
|
|
805
|
- description: 共创信息
|
|
|
806
|
- extRequestBody:
|
|
|
807
|
- title: extRequestBody
|
|
|
808
|
- type: object
|
|
|
809
|
- properties:
|
|
|
810
|
- depName:
|
|
|
811
|
- type: string
|
|
|
812
|
- description: 部门名称
|
|
|
813
|
- required:
|
|
|
814
|
- - depName
|
|
|
815
|
- orgName:
|
|
|
816
|
- type: string
|
|
|
817
|
- description: 组织名称
|
|
|
818
|
- required:
|
|
|
819
|
- - orgName
|
|
|
820
|
- parentDepName:
|
|
|
821
|
- type: string
|
|
|
822
|
- description: 父级部门名称
|
|
|
823
|
- required:
|
|
|
824
|
- - parentDepName
|
|
|
825
|
- phone:
|
|
|
826
|
- type: string
|
|
|
827
|
- description: 手机号码
|
|
|
828
|
- required:
|
|
|
829
|
- - phone
|
|
|
830
|
- usersName:
|
|
|
831
|
- type: string
|
|
|
832
|
- description: 用户姓名
|
|
|
833
|
- required:
|
|
|
834
|
- - usersName
|
|
|
835
|
- description: 冗余附加数据
|
|
|
836
|
- extResponseBody:
|
|
|
837
|
- title: extResponseBody
|
|
|
838
|
- type: object
|
|
|
839
|
- properties:
|
|
|
840
|
- depName:
|
|
|
841
|
- type: string
|
|
|
842
|
- description: 部门名称
|
|
|
843
|
- required:
|
|
|
844
|
- - depName
|
|
|
845
|
- orgName:
|
|
|
846
|
- type: string
|
|
|
847
|
- description: 组织名称
|
|
|
848
|
- required:
|
|
|
849
|
- - orgName
|
|
|
850
|
- parentDepName:
|
|
|
851
|
- type: string
|
|
|
852
|
- description: 父级部门名称
|
|
|
853
|
- required:
|
|
|
854
|
- - parentDepName
|
|
|
855
|
- phone:
|
|
|
856
|
- type: string
|
|
|
857
|
- description: 手机号码
|
|
|
858
|
- required:
|
|
|
859
|
- - phone
|
|
|
860
|
- usersName:
|
|
|
861
|
- type: string
|
|
|
862
|
- description: 用户姓名
|
|
|
863
|
- required:
|
|
|
864
|
- - usersName
|
|
|
865
|
- description: 冗余附加数据
|
|
|
866
|
- menuResponseBody:
|
|
|
867
|
- title: menuResponseBody
|
|
|
868
|
- type: object
|
|
|
869
|
- properties:
|
|
|
870
|
- accessCode:
|
|
|
871
|
- type: string
|
|
|
872
|
- description: 权限编码 users:edit
|
|
|
873
|
- required:
|
|
|
874
|
- - accessCode
|
|
|
875
|
- category:
|
|
|
876
|
- type: string
|
|
|
877
|
- description: 菜单类别 (web:1、app:2)
|
|
|
878
|
- code:
|
|
|
879
|
- type: string
|
|
|
880
|
- description: 菜单编码 SYSTEM_USER_EDIT
|
|
|
881
|
- required:
|
|
|
882
|
- - code
|
|
|
883
|
- enableStatus:
|
|
|
884
|
- type: integer
|
|
|
885
|
- description: 启用状态(启用:1 禁用:0)
|
|
|
886
|
- required:
|
|
|
887
|
- - enableStatus
|
|
|
888
|
- icon:
|
|
|
889
|
- type: string
|
|
|
890
|
- description: 菜单图标
|
|
|
891
|
- required:
|
|
|
892
|
- - icon
|
|
|
893
|
- isPublish:
|
|
|
894
|
- type: integer
|
|
|
895
|
- description: 菜单是否公开状态(上架、下架),[0:隐藏],[1:显示],默认显示
|
|
|
896
|
- required:
|
|
|
897
|
- - isPublish
|
|
|
898
|
- menuId:
|
|
|
899
|
- type: integer
|
|
|
900
|
- description: 菜单编号
|
|
|
901
|
- required:
|
|
|
902
|
- - menuId
|
|
|
903
|
- menuName:
|
|
|
904
|
- type: string
|
|
|
905
|
- description: 菜单名称
|
|
|
906
|
- required:
|
|
|
907
|
- - menuName
|
|
|
908
|
- menuType:
|
|
|
909
|
- type: string
|
|
|
910
|
- description: 菜单类型 (目录catalog、菜单menu、按钮button)
|
|
|
911
|
- required:
|
|
|
912
|
- - menuType
|
|
|
913
|
- parentId:
|
|
|
914
|
- type: integer
|
|
|
915
|
- description: 父级ID
|
|
|
916
|
- required:
|
|
|
917
|
- - parentId
|
|
|
918
|
- parentPath:
|
|
|
919
|
- type: string
|
|
|
920
|
- description: 父级节点路径("0,11,12,")
|
|
|
921
|
- remark:
|
|
|
922
|
- type: string
|
|
|
923
|
- description: 备注
|
|
|
924
|
- required:
|
|
|
925
|
- - remark
|
|
|
926
|
- sort:
|
|
|
927
|
- type: integer
|
|
|
928
|
- description: 排序
|
|
|
929
|
- required:
|
|
|
930
|
- - sort
|
|
|
931
|
- description: 系统菜单
|
|
|
932
|
- orgRequestBody:
|
|
|
933
|
- title: orgRequestBody
|
|
|
934
|
- type: object
|
|
|
935
|
- properties:
|
|
|
936
|
- companyId:
|
|
|
937
|
- type: integer
|
|
|
938
|
- description: 企业id
|
|
|
939
|
- required:
|
|
|
940
|
- - companyId
|
|
|
941
|
- createdAt:
|
|
|
942
|
- type: string
|
|
|
943
|
- description: 创建时间
|
|
|
944
|
- required:
|
|
|
945
|
- - createdAt
|
|
|
946
|
- deletedAt:
|
|
|
947
|
- type: string
|
|
|
948
|
- description: 删除时间
|
|
|
949
|
- required:
|
|
|
950
|
- - deletedAt
|
|
|
951
|
- ext:
|
|
|
952
|
- $ref: '#/definitions/extRequestBody'
|
|
|
953
|
- isOrg:
|
|
|
954
|
- type: string
|
|
|
955
|
- required:
|
|
|
956
|
- - isOrg
|
|
|
957
|
- orgCode:
|
|
|
958
|
- type: string
|
|
|
959
|
- description: 组织编码
|
|
|
960
|
- required:
|
|
|
961
|
- - orgCode
|
|
|
962
|
- orgId:
|
|
|
963
|
- type: integer
|
|
|
964
|
- description: 组织ID
|
|
|
965
|
- required:
|
|
|
966
|
- - orgId
|
|
|
967
|
- orgName:
|
|
|
968
|
- type: string
|
|
|
969
|
- description: 组织名称
|
|
|
970
|
- required:
|
|
|
971
|
- - orgName
|
|
|
972
|
- parentId:
|
|
|
973
|
- type: integer
|
|
|
974
|
- description: 父级ID
|
|
|
975
|
- required:
|
|
|
976
|
- - parentId
|
|
|
977
|
- parentPath:
|
|
|
978
|
- type: string
|
|
|
979
|
- description: 父级节点路径("0,11,12,")
|
|
|
980
|
- updatedAt:
|
|
|
981
|
- type: string
|
|
|
982
|
- description: 更新时间
|
|
|
983
|
- required:
|
|
|
984
|
- - updatedAt
|
|
|
985
|
- description: 组织 organization
|
|
|
986
|
- orgResponseBody:
|
|
|
987
|
- title: orgResponseBody
|
|
|
988
|
- type: object
|
|
|
989
|
- properties:
|
|
|
990
|
- companyId:
|
|
|
991
|
- type: integer
|
|
|
992
|
- description: 企业id
|
|
|
993
|
- required:
|
|
|
994
|
- - companyId
|
|
|
995
|
- createdAt:
|
|
|
996
|
- type: string
|
|
|
997
|
- description: 创建时间
|
|
|
998
|
- required:
|
|
|
999
|
- - createdAt
|
|
|
1000
|
- deletedAt:
|
|
|
1001
|
- type: string
|
|
|
1002
|
- description: 删除时间
|
|
|
1003
|
- required:
|
|
|
1004
|
- - deletedAt
|
|
|
1005
|
- ext:
|
|
|
1006
|
- $ref: '#/definitions/extResponseBody'
|
|
|
1007
|
- isOrg:
|
|
|
1008
|
- type: string
|
|
|
1009
|
- required:
|
|
|
1010
|
- - isOrg
|
|
|
1011
|
- orgCode:
|
|
|
1012
|
- type: string
|
|
|
1013
|
- description: 组织编码
|
|
|
1014
|
- required:
|
|
|
1015
|
- - orgCode
|
|
|
1016
|
- orgId:
|
|
|
1017
|
- type: integer
|
|
|
1018
|
- description: 组织ID
|
|
|
1019
|
- required:
|
|
|
1020
|
- - orgId
|
|
|
1021
|
- orgName:
|
|
|
1022
|
- type: string
|
|
|
1023
|
- description: 组织名称
|
|
|
1024
|
- required:
|
|
|
1025
|
- - orgName
|
|
|
1026
|
- parentId:
|
|
|
1027
|
- type: integer
|
|
|
1028
|
- description: 父级ID
|
|
|
1029
|
- required:
|
|
|
1030
|
- - parentId
|
|
|
1031
|
- parentPath:
|
|
|
1032
|
- type: string
|
|
|
1033
|
- description: 父级节点路径("0,11,12,")
|
|
|
1034
|
- updatedAt:
|
|
|
1035
|
- type: string
|
|
|
1036
|
- description: 更新时间
|
|
|
1037
|
- required:
|
|
|
1038
|
- - updatedAt
|
|
|
1039
|
- description: 组织 organization
|
|
|
1040
|
- roleRequestBody:
|
|
|
1041
|
- title: roleRequestBody
|
|
|
1042
|
- type: object
|
|
|
1043
|
- properties:
|
|
|
1044
|
- accessMenus:
|
|
|
1045
|
- type: array
|
|
|
1046
|
- items:
|
|
|
1047
|
- type: integer
|
|
|
1048
|
- format: int64
|
|
|
1049
|
- description: 有权限的菜单
|
|
|
1050
|
- required:
|
|
|
1051
|
- - accessMenus
|
|
|
1052
|
- companyId:
|
|
|
1053
|
- type: integer
|
|
|
1054
|
- description: 企业id
|
|
|
1055
|
- required:
|
|
|
1056
|
- - companyId
|
|
|
1057
|
- createdAt:
|
|
|
1058
|
- type: string
|
|
|
1059
|
- description: 创建时间
|
|
|
1060
|
- required:
|
|
|
1061
|
- - createdAt
|
|
|
1062
|
- desc:
|
|
|
1063
|
- type: integer
|
|
|
1064
|
- description: 描述
|
|
|
1065
|
- required:
|
|
|
1066
|
- - desc
|
|
|
1067
|
- ext:
|
|
|
1068
|
- $ref: '#/definitions/extRequestBody'
|
|
|
1069
|
- orgId:
|
|
|
1070
|
- type: integer
|
|
|
1071
|
- description: 组织ID
|
|
|
1072
|
- required:
|
|
|
1073
|
- - orgId
|
|
|
1074
|
- roleId:
|
|
|
1075
|
- type: integer
|
|
|
1076
|
- description: 角色ID
|
|
|
1077
|
- required:
|
|
|
1078
|
- - roleId
|
|
|
1079
|
- roleName:
|
|
|
1080
|
- type: string
|
|
|
1081
|
- description: 角色名称
|
|
|
1082
|
- required:
|
|
|
1083
|
- - roleName
|
|
|
1084
|
- updatedAt:
|
|
|
1085
|
- type: string
|
|
|
1086
|
- description: 更新时间
|
|
|
1087
|
- required:
|
|
|
1088
|
- - updatedAt
|
|
|
1089
|
- description: 角色 (base)
|
|
|
1090
|
- roleResponseBody:
|
|
|
1091
|
- title: roleResponseBody
|
|
|
1092
|
- type: object
|
|
|
1093
|
- properties:
|
|
|
1094
|
- accessMenus:
|
|
|
1095
|
- type: array
|
|
|
1096
|
- items:
|
|
|
1097
|
- type: integer
|
|
|
1098
|
- format: int64
|
|
|
1099
|
- description: 有权限的菜单
|
|
|
1100
|
- required:
|
|
|
1101
|
- - accessMenus
|
|
|
1102
|
- companyId:
|
|
|
1103
|
- type: integer
|
|
|
1104
|
- description: 企业id
|
|
|
1105
|
- required:
|
|
|
1106
|
- - companyId
|
|
|
1107
|
- createdAt:
|
|
|
1108
|
- type: string
|
|
|
1109
|
- description: 创建时间
|
|
|
1110
|
- required:
|
|
|
1111
|
- - createdAt
|
|
|
1112
|
- desc:
|
|
|
1113
|
- type: integer
|
|
|
1114
|
- description: 描述
|
|
|
1115
|
- required:
|
|
|
1116
|
- - desc
|
|
|
1117
|
- ext:
|
|
|
1118
|
- $ref: '#/definitions/extResponseBody'
|
|
|
1119
|
- orgId:
|
|
|
1120
|
- type: integer
|
|
|
1121
|
- description: 组织ID
|
|
|
1122
|
- required:
|
|
|
1123
|
- - orgId
|
|
|
1124
|
- roleId:
|
|
|
1125
|
- type: integer
|
|
|
1126
|
- description: 角色ID
|
|
|
1127
|
- required:
|
|
|
1128
|
- - roleId
|
|
|
1129
|
- roleName:
|
|
|
1130
|
- type: string
|
|
|
1131
|
- description: 角色名称
|
|
|
1132
|
- required:
|
|
|
1133
|
- - roleName
|
|
|
1134
|
- updatedAt:
|
|
|
1135
|
- type: string
|
|
|
1136
|
- description: 更新时间
|
|
|
1137
|
- required:
|
|
|
1138
|
- - updatedAt
|
|
|
1139
|
- description: 角色 (base)
|
|
|
1140
|
- usersRequestBody:
|
|
|
1141
|
- title: usersRequestBody
|
|
|
1142
|
- type: object
|
|
|
1143
|
- properties:
|
|
|
1144
|
- companyId:
|
|
|
1145
|
- type: integer
|
|
|
1146
|
- description: 企业id
|
|
|
1147
|
- required:
|
|
|
1148
|
- - companyId
|
|
|
1149
|
- cooperationInfo:
|
|
|
1150
|
- $ref: '#/definitions/cooperationInfoRequestBody'
|
|
|
1151
|
- createdAt:
|
|
|
1152
|
- type: string
|
|
|
1153
|
- description: 创建时间
|
|
|
1154
|
- required:
|
|
|
1155
|
- - createdAt
|
|
|
1156
|
- departmentId:
|
|
|
1157
|
- type: integer
|
|
|
1158
|
- description: 所属部门
|
|
|
1159
|
- format: int64
|
|
|
1160
|
- enableStatus:
|
|
|
1161
|
- type: integer
|
|
|
1162
|
- description: 启用状态(启用:1 禁用:2)
|
|
|
1163
|
- format: int64
|
|
|
1164
|
- ext:
|
|
|
1165
|
- $ref: '#/definitions/extRequestBody'
|
|
|
1166
|
- favoriteMenus:
|
|
|
1167
|
- type: array
|
|
|
1168
|
- items:
|
|
|
1169
|
- type: string
|
|
|
1170
|
- description: 收藏的菜单(工作台)(菜单编码列表)
|
|
|
1171
|
- organizationId:
|
|
|
1172
|
- type: integer
|
|
|
1173
|
- description: 组织机构
|
|
|
1174
|
- format: int64
|
|
|
1175
|
- updatedAt:
|
|
|
1176
|
- type: string
|
|
|
1177
|
- description: 更新时间
|
|
|
1178
|
- required:
|
|
|
1179
|
- - updatedAt
|
|
|
1180
|
- usersBaseId:
|
|
|
1181
|
- type: integer
|
|
|
1182
|
- description: 用户基础数据id
|
|
|
1183
|
- required:
|
|
|
1184
|
- - usersBaseId
|
|
|
1185
|
- usersCode:
|
|
|
1186
|
- type: string
|
|
|
1187
|
- description: 用户编号
|
|
|
1188
|
- required:
|
|
|
1189
|
- - usersCode
|
|
|
1190
|
- usersId:
|
|
|
1191
|
- type: integer
|
|
|
1192
|
- description: 用户编号
|
|
|
1193
|
- required:
|
|
|
1194
|
- - usersId
|
|
|
1195
|
- usersOrg:
|
|
|
1196
|
- type: array
|
|
|
1197
|
- items:
|
|
|
1198
|
- $ref: '#/definitions/orgRequestBody'
|
|
|
1199
|
- description: 用户关联的组织
|
|
|
1200
|
- usersRole:
|
|
|
1201
|
- type: array
|
|
|
1202
|
- items:
|
|
|
1203
|
- $ref: '#/definitions/roleRequestBody'
|
|
|
1204
|
- description: 用户关联的角色
|
|
|
1205
|
- usersType:
|
|
|
1206
|
- type: integer
|
|
|
1207
|
- description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
|
|
|
1208
|
- required:
|
|
|
1209
|
- - usersType
|
|
|
1210
|
- description: 用户
|
|
|
1211
|
- usersResponseBody:
|
|
|
1212
|
- title: usersResponseBody
|
|
|
1213
|
- type: object
|
|
|
1214
|
- properties:
|
|
|
1215
|
- companyId:
|
|
|
1216
|
- type: integer
|
|
|
1217
|
- description: 企业id
|
|
|
1218
|
- required:
|
|
|
1219
|
- - companyId
|
|
|
1220
|
- cooperationInfo:
|
|
|
1221
|
- $ref: '#/definitions/cooperationInfoResponseBody'
|
|
|
1222
|
- createdAt:
|
|
|
1223
|
- type: string
|
|
|
1224
|
- description: 创建时间
|
|
|
1225
|
- required:
|
|
|
1226
|
- - createdAt
|
|
|
1227
|
- departmentId:
|
|
|
1228
|
- type: integer
|
|
|
1229
|
- description: 所属部门
|
|
|
1230
|
- format: int64
|
|
|
1231
|
- enableStatus:
|
|
|
1232
|
- type: integer
|
|
|
1233
|
- description: 启用状态(启用:1 禁用:2)
|
|
|
1234
|
- format: int64
|
|
|
1235
|
- ext:
|
|
|
1236
|
- $ref: '#/definitions/extResponseBody'
|
|
|
1237
|
- favoriteMenus:
|
|
|
1238
|
- type: array
|
|
|
1239
|
- items:
|
|
|
1240
|
- type: string
|
|
|
1241
|
- description: 收藏的菜单(工作台)(菜单编码列表)
|
|
|
1242
|
- organizationId:
|
|
|
1243
|
- type: integer
|
|
|
1244
|
- description: 组织机构
|
|
|
1245
|
- format: int64
|
|
|
1246
|
- updatedAt:
|
|
|
1247
|
- type: string
|
|
|
1248
|
- description: 更新时间
|
|
|
1249
|
- required:
|
|
|
1250
|
- - updatedAt
|
|
|
1251
|
- usersBaseId:
|
|
|
1252
|
- type: integer
|
|
|
1253
|
- description: 用户基础数据id
|
|
|
1254
|
- required:
|
|
|
1255
|
- - usersBaseId
|
|
|
1256
|
- usersCode:
|
|
|
1257
|
- type: string
|
|
|
1258
|
- description: 用户编号
|
|
|
1259
|
- required:
|
|
|
1260
|
- - usersCode
|
|
|
1261
|
- usersId:
|
|
|
1262
|
- type: integer
|
|
|
1263
|
- description: 用户编号
|
|
|
1264
|
- required:
|
|
|
1265
|
- - usersId
|
|
|
1266
|
- usersOrg:
|
|
|
1267
|
- type: array
|
|
|
1268
|
- items:
|
|
|
1269
|
- $ref: '#/definitions/orgResponseBody'
|
|
|
1270
|
- description: 用户关联的组织
|
|
|
1271
|
- usersRole:
|
|
|
1272
|
- type: array
|
|
|
1273
|
- items:
|
|
|
1274
|
- $ref: '#/definitions/roleResponseBody'
|
|
|
1275
|
- description: 用户关联的角色
|
|
|
1276
|
- usersType:
|
|
|
1277
|
- type: integer
|
|
|
1278
|
- description: 用户类型 1:企业内部用户(内部添加) 2:共创用户 1024:企业注册用户(注册添加)
|
|
|
1279
|
- required:
|
|
|
1280
|
- - usersType
|
|
|
1281
|
- description: 用户 |
|
|