|
@@ -15,6 +15,119 @@ |
|
@@ -15,6 +15,119 @@ |
15
|
"application/json"
|
15
|
"application/json"
|
16
|
],
|
16
|
],
|
17
|
"paths": {
|
17
|
"paths": {
|
|
|
18
|
+ "v1/mini/article_tag": {
|
|
|
19
|
+ "delete": {
|
|
|
20
|
+ "summary": "后台删除文章标签",
|
|
|
21
|
+ "operationId": "DeleteTag",
|
|
|
22
|
+ "responses": {
|
|
|
23
|
+ "200": {
|
|
|
24
|
+ "description": "A successful response.",
|
|
|
25
|
+ "schema": {
|
|
|
26
|
+ "$ref": "#/definitions/TagDeleteResponse"
|
|
|
27
|
+ }
|
|
|
28
|
+ }
|
|
|
29
|
+ },
|
|
|
30
|
+ "parameters": [
|
|
|
31
|
+ {
|
|
|
32
|
+ "name": "body",
|
|
|
33
|
+ "in": "body",
|
|
|
34
|
+ "required": true,
|
|
|
35
|
+ "schema": {
|
|
|
36
|
+ "$ref": "#/definitions/TagDeleteRequest"
|
|
|
37
|
+ }
|
|
|
38
|
+ }
|
|
|
39
|
+ ],
|
|
|
40
|
+ "requestBody": {},
|
|
|
41
|
+ "tags": [
|
|
|
42
|
+ "tags"
|
|
|
43
|
+ ]
|
|
|
44
|
+ },
|
|
|
45
|
+ "post": {
|
|
|
46
|
+ "summary": "后台创建文章标签",
|
|
|
47
|
+ "operationId": "CreateTag",
|
|
|
48
|
+ "responses": {
|
|
|
49
|
+ "200": {
|
|
|
50
|
+ "description": "A successful response.",
|
|
|
51
|
+ "schema": {
|
|
|
52
|
+ "$ref": "#/definitions/TagCreateResponse"
|
|
|
53
|
+ }
|
|
|
54
|
+ }
|
|
|
55
|
+ },
|
|
|
56
|
+ "parameters": [
|
|
|
57
|
+ {
|
|
|
58
|
+ "name": "body",
|
|
|
59
|
+ "in": "body",
|
|
|
60
|
+ "required": true,
|
|
|
61
|
+ "schema": {
|
|
|
62
|
+ "$ref": "#/definitions/TagCreateRequest"
|
|
|
63
|
+ }
|
|
|
64
|
+ }
|
|
|
65
|
+ ],
|
|
|
66
|
+ "requestBody": {},
|
|
|
67
|
+ "tags": [
|
|
|
68
|
+ "tags"
|
|
|
69
|
+ ]
|
|
|
70
|
+ },
|
|
|
71
|
+ "put": {
|
|
|
72
|
+ "summary": "后台编辑文章标签",
|
|
|
73
|
+ "operationId": "EditTag",
|
|
|
74
|
+ "responses": {
|
|
|
75
|
+ "200": {
|
|
|
76
|
+ "description": "A successful response.",
|
|
|
77
|
+ "schema": {
|
|
|
78
|
+ "$ref": "#/definitions/TagEditResponse"
|
|
|
79
|
+ }
|
|
|
80
|
+ }
|
|
|
81
|
+ },
|
|
|
82
|
+ "parameters": [
|
|
|
83
|
+ {
|
|
|
84
|
+ "name": "body",
|
|
|
85
|
+ "in": "body",
|
|
|
86
|
+ "required": true,
|
|
|
87
|
+ "schema": {
|
|
|
88
|
+ "$ref": "#/definitions/TagEditRequest"
|
|
|
89
|
+ }
|
|
|
90
|
+ }
|
|
|
91
|
+ ],
|
|
|
92
|
+ "requestBody": {},
|
|
|
93
|
+ "tags": [
|
|
|
94
|
+ "tags"
|
|
|
95
|
+ ]
|
|
|
96
|
+ }
|
|
|
97
|
+ },
|
|
|
98
|
+ "v1/mini/article_tag/{id}": {
|
|
|
99
|
+ "get": {
|
|
|
100
|
+ "summary": "后台获取文章标签",
|
|
|
101
|
+ "operationId": "GetTag",
|
|
|
102
|
+ "responses": {
|
|
|
103
|
+ "200": {
|
|
|
104
|
+ "description": "A successful response.",
|
|
|
105
|
+ "schema": {
|
|
|
106
|
+ "$ref": "#/definitions/TagGetResponse"
|
|
|
107
|
+ }
|
|
|
108
|
+ }
|
|
|
109
|
+ },
|
|
|
110
|
+ "parameters": [
|
|
|
111
|
+ {
|
|
|
112
|
+ "name": "id",
|
|
|
113
|
+ "in": "path",
|
|
|
114
|
+ "required": true,
|
|
|
115
|
+ "type": "string"
|
|
|
116
|
+ },
|
|
|
117
|
+ {
|
|
|
118
|
+ "name": "id",
|
|
|
119
|
+ "in": "query",
|
|
|
120
|
+ "required": true,
|
|
|
121
|
+ "type": "integer",
|
|
|
122
|
+ "format": "int64"
|
|
|
123
|
+ }
|
|
|
124
|
+ ],
|
|
|
125
|
+ "requestBody": {},
|
|
|
126
|
+ "tags": [
|
|
|
127
|
+ "tags"
|
|
|
128
|
+ ]
|
|
|
129
|
+ }
|
|
|
130
|
+ },
|
18
|
"v1/mini/comment": {
|
131
|
"v1/mini/comment": {
|
19
|
"get": {
|
132
|
"get": {
|
20
|
"summary": "小程序评论",
|
133
|
"summary": "小程序评论",
|
|
@@ -33,6 +146,364 @@ |
|
@@ -33,6 +146,364 @@ |
33
|
]
|
146
|
]
|
34
|
}
|
147
|
}
|
35
|
},
|
148
|
},
|
|
|
149
|
+ "v1/mini/company/search": {
|
|
|
150
|
+ "post": {
|
|
|
151
|
+ "summary": "公司搜索",
|
|
|
152
|
+ "operationId": "miniCompanySearch",
|
|
|
153
|
+ "responses": {
|
|
|
154
|
+ "200": {
|
|
|
155
|
+ "description": "A successful response.",
|
|
|
156
|
+ "schema": {
|
|
|
157
|
+ "$ref": "#/definitions/CompanySearchResponse"
|
|
|
158
|
+ }
|
|
|
159
|
+ }
|
|
|
160
|
+ },
|
|
|
161
|
+ "parameters": [
|
|
|
162
|
+ {
|
|
|
163
|
+ "name": "body",
|
|
|
164
|
+ "in": "body",
|
|
|
165
|
+ "required": true,
|
|
|
166
|
+ "schema": {
|
|
|
167
|
+ "$ref": "#/definitions/CompanySearchRequest"
|
|
|
168
|
+ }
|
|
|
169
|
+ }
|
|
|
170
|
+ ],
|
|
|
171
|
+ "requestBody": {},
|
|
|
172
|
+ "tags": [
|
|
|
173
|
+ "company"
|
|
|
174
|
+ ]
|
|
|
175
|
+ }
|
|
|
176
|
+ },
|
|
|
177
|
+ "v1/mini/message/business": {
|
|
|
178
|
+ "post": {
|
|
|
179
|
+ "summary": "业务消息",
|
|
|
180
|
+ "operationId": "miniBusiness",
|
|
|
181
|
+ "responses": {
|
|
|
182
|
+ "200": {
|
|
|
183
|
+ "description": "A successful response.",
|
|
|
184
|
+ "schema": {
|
|
|
185
|
+ "$ref": "#/definitions/MessageBusinessResponse"
|
|
|
186
|
+ }
|
|
|
187
|
+ }
|
|
|
188
|
+ },
|
|
|
189
|
+ "parameters": [
|
|
|
190
|
+ {
|
|
|
191
|
+ "name": "body",
|
|
|
192
|
+ "in": "body",
|
|
|
193
|
+ "required": true,
|
|
|
194
|
+ "schema": {
|
|
|
195
|
+ "$ref": "#/definitions/MessageBusinessRequest"
|
|
|
196
|
+ }
|
|
|
197
|
+ }
|
|
|
198
|
+ ],
|
|
|
199
|
+ "requestBody": {},
|
|
|
200
|
+ "tags": [
|
|
|
201
|
+ "message"
|
|
|
202
|
+ ]
|
|
|
203
|
+ }
|
|
|
204
|
+ },
|
|
|
205
|
+ "v1/mini/message/system": {
|
|
|
206
|
+ "post": {
|
|
|
207
|
+ "summary": "系统消息",
|
|
|
208
|
+ "operationId": "miniSystem",
|
|
|
209
|
+ "responses": {
|
|
|
210
|
+ "200": {
|
|
|
211
|
+ "description": "A successful response.",
|
|
|
212
|
+ "schema": {
|
|
|
213
|
+ "$ref": "#/definitions/MessageSystemResponse"
|
|
|
214
|
+ }
|
|
|
215
|
+ }
|
|
|
216
|
+ },
|
|
|
217
|
+ "parameters": [
|
|
|
218
|
+ {
|
|
|
219
|
+ "name": "body",
|
|
|
220
|
+ "in": "body",
|
|
|
221
|
+ "required": true,
|
|
|
222
|
+ "schema": {
|
|
|
223
|
+ "$ref": "#/definitions/MessageSystemRequest"
|
|
|
224
|
+ }
|
|
|
225
|
+ }
|
|
|
226
|
+ ],
|
|
|
227
|
+ "requestBody": {},
|
|
|
228
|
+ "tags": [
|
|
|
229
|
+ "message"
|
|
|
230
|
+ ]
|
|
|
231
|
+ }
|
|
|
232
|
+ },
|
|
|
233
|
+ "v1/mini/user/apply-join-company": {
|
|
|
234
|
+ "post": {
|
|
|
235
|
+ "summary": "用户申请加入公司",
|
|
|
236
|
+ "operationId": "miniUserApplyJoinCompany",
|
|
|
237
|
+ "responses": {
|
|
|
238
|
+ "200": {
|
|
|
239
|
+ "description": "A successful response.",
|
|
|
240
|
+ "schema": {
|
|
|
241
|
+ "$ref": "#/definitions/MiniUserApplyJoinCompanyResponse"
|
|
|
242
|
+ }
|
|
|
243
|
+ }
|
|
|
244
|
+ },
|
|
|
245
|
+ "parameters": [
|
|
|
246
|
+ {
|
|
|
247
|
+ "name": "body",
|
|
|
248
|
+ "in": "body",
|
|
|
249
|
+ "required": true,
|
|
|
250
|
+ "schema": {
|
|
|
251
|
+ "$ref": "#/definitions/MiniUserApplyJoinCompanyRequest"
|
|
|
252
|
+ }
|
|
|
253
|
+ }
|
|
|
254
|
+ ],
|
|
|
255
|
+ "requestBody": {},
|
|
|
256
|
+ "tags": [
|
|
|
257
|
+ "user"
|
|
|
258
|
+ ]
|
|
|
259
|
+ }
|
|
|
260
|
+ },
|
|
|
261
|
+ "v1/mini/user/audit": {
|
|
|
262
|
+ "post": {
|
|
|
263
|
+ "summary": "用户审核",
|
|
|
264
|
+ "operationId": "miniUserAudit",
|
|
|
265
|
+ "responses": {
|
|
|
266
|
+ "200": {
|
|
|
267
|
+ "description": "A successful response.",
|
|
|
268
|
+ "schema": {}
|
|
|
269
|
+ }
|
|
|
270
|
+ },
|
|
|
271
|
+ "parameters": [
|
|
|
272
|
+ {
|
|
|
273
|
+ "name": "body",
|
|
|
274
|
+ "in": "body",
|
|
|
275
|
+ "required": true,
|
|
|
276
|
+ "schema": {
|
|
|
277
|
+ "$ref": "#/definitions/MiniUserAuditRequest"
|
|
|
278
|
+ }
|
|
|
279
|
+ }
|
|
|
280
|
+ ],
|
|
|
281
|
+ "requestBody": {},
|
|
|
282
|
+ "tags": [
|
|
|
283
|
+ "user"
|
|
|
284
|
+ ]
|
|
|
285
|
+ }
|
|
|
286
|
+ },
|
|
|
287
|
+ "v1/mini/user/audit-list": {
|
|
|
288
|
+ "post": {
|
|
|
289
|
+ "summary": "用户审核列表",
|
|
|
290
|
+ "operationId": "miniUserAuditList",
|
|
|
291
|
+ "responses": {
|
|
|
292
|
+ "200": {
|
|
|
293
|
+ "description": "A successful response.",
|
|
|
294
|
+ "schema": {
|
|
|
295
|
+ "$ref": "#/definitions/UserSearchResponse"
|
|
|
296
|
+ }
|
|
|
297
|
+ }
|
|
|
298
|
+ },
|
|
|
299
|
+ "parameters": [
|
|
|
300
|
+ {
|
|
|
301
|
+ "name": "body",
|
|
|
302
|
+ "in": "body",
|
|
|
303
|
+ "required": true,
|
|
|
304
|
+ "schema": {
|
|
|
305
|
+ "$ref": "#/definitions/UserSearchRequest"
|
|
|
306
|
+ }
|
|
|
307
|
+ }
|
|
|
308
|
+ ],
|
|
|
309
|
+ "requestBody": {},
|
|
|
310
|
+ "tags": [
|
|
|
311
|
+ "user"
|
|
|
312
|
+ ]
|
|
|
313
|
+ }
|
|
|
314
|
+ },
|
|
|
315
|
+ "v1/mini/user/department-users": {
|
|
|
316
|
+ "post": {
|
|
|
317
|
+ "summary": "部门用户列表",
|
|
|
318
|
+ "operationId": "miniUserDepartmentUsers",
|
|
|
319
|
+ "responses": {
|
|
|
320
|
+ "200": {
|
|
|
321
|
+ "description": "A successful response.",
|
|
|
322
|
+ "schema": {
|
|
|
323
|
+ "$ref": "#/definitions/MiniUserInfoResponse"
|
|
|
324
|
+ }
|
|
|
325
|
+ }
|
|
|
326
|
+ },
|
|
|
327
|
+ "parameters": [
|
|
|
328
|
+ {
|
|
|
329
|
+ "name": "body",
|
|
|
330
|
+ "in": "body",
|
|
|
331
|
+ "required": true,
|
|
|
332
|
+ "schema": {
|
|
|
333
|
+ "$ref": "#/definitions/MiniUserDepartmentUsersRequest"
|
|
|
334
|
+ }
|
|
|
335
|
+ }
|
|
|
336
|
+ ],
|
|
|
337
|
+ "requestBody": {},
|
|
|
338
|
+ "tags": [
|
|
|
339
|
+ "user"
|
|
|
340
|
+ ]
|
|
|
341
|
+ }
|
|
|
342
|
+ },
|
|
|
343
|
+ "v1/mini/user/follow": {
|
|
|
344
|
+ "post": {
|
|
|
345
|
+ "summary": "关注",
|
|
|
346
|
+ "operationId": "miniUserFollow",
|
|
|
347
|
+ "responses": {
|
|
|
348
|
+ "200": {
|
|
|
349
|
+ "description": "A successful response.",
|
|
|
350
|
+ "schema": {}
|
|
|
351
|
+ }
|
|
|
352
|
+ },
|
|
|
353
|
+ "parameters": [
|
|
|
354
|
+ {
|
|
|
355
|
+ "name": "body",
|
|
|
356
|
+ "in": "body",
|
|
|
357
|
+ "required": true,
|
|
|
358
|
+ "schema": {
|
|
|
359
|
+ "$ref": "#/definitions/FollowRequest"
|
|
|
360
|
+ }
|
|
|
361
|
+ }
|
|
|
362
|
+ ],
|
|
|
363
|
+ "requestBody": {},
|
|
|
364
|
+ "tags": [
|
|
|
365
|
+ "user"
|
|
|
366
|
+ ]
|
|
|
367
|
+ }
|
|
|
368
|
+ },
|
|
|
369
|
+ "v1/mini/user/follower": {
|
|
|
370
|
+ "post": {
|
|
|
371
|
+ "summary": "关注我的人",
|
|
|
372
|
+ "operationId": "miniUserFollower",
|
|
|
373
|
+ "responses": {
|
|
|
374
|
+ "200": {
|
|
|
375
|
+ "description": "A successful response.",
|
|
|
376
|
+ "schema": {
|
|
|
377
|
+ "$ref": "#/definitions/UserSearchResponse"
|
|
|
378
|
+ }
|
|
|
379
|
+ }
|
|
|
380
|
+ },
|
|
|
381
|
+ "parameters": [
|
|
|
382
|
+ {
|
|
|
383
|
+ "name": "body",
|
|
|
384
|
+ "in": "body",
|
|
|
385
|
+ "required": true,
|
|
|
386
|
+ "schema": {
|
|
|
387
|
+ "$ref": "#/definitions/UserSearchRequest"
|
|
|
388
|
+ }
|
|
|
389
|
+ }
|
|
|
390
|
+ ],
|
|
|
391
|
+ "requestBody": {},
|
|
|
392
|
+ "tags": [
|
|
|
393
|
+ "user"
|
|
|
394
|
+ ]
|
|
|
395
|
+ }
|
|
|
396
|
+ },
|
|
|
397
|
+ "v1/mini/user/following": {
|
|
|
398
|
+ "post": {
|
|
|
399
|
+ "summary": "我关注的人",
|
|
|
400
|
+ "operationId": "miniUserFollowing",
|
|
|
401
|
+ "responses": {
|
|
|
402
|
+ "200": {
|
|
|
403
|
+ "description": "A successful response.",
|
|
|
404
|
+ "schema": {
|
|
|
405
|
+ "$ref": "#/definitions/UserSearchResponse"
|
|
|
406
|
+ }
|
|
|
407
|
+ }
|
|
|
408
|
+ },
|
|
|
409
|
+ "parameters": [
|
|
|
410
|
+ {
|
|
|
411
|
+ "name": "body",
|
|
|
412
|
+ "in": "body",
|
|
|
413
|
+ "required": true,
|
|
|
414
|
+ "schema": {
|
|
|
415
|
+ "$ref": "#/definitions/UserSearchRequest"
|
|
|
416
|
+ }
|
|
|
417
|
+ }
|
|
|
418
|
+ ],
|
|
|
419
|
+ "requestBody": {},
|
|
|
420
|
+ "tags": [
|
|
|
421
|
+ "user"
|
|
|
422
|
+ ]
|
|
|
423
|
+ }
|
|
|
424
|
+ },
|
|
|
425
|
+ "v1/mini/user/info": {
|
|
|
426
|
+ "post": {
|
|
|
427
|
+ "summary": "用户信息",
|
|
|
428
|
+ "operationId": "miniUserInfo",
|
|
|
429
|
+ "responses": {
|
|
|
430
|
+ "200": {
|
|
|
431
|
+ "description": "A successful response.",
|
|
|
432
|
+ "schema": {
|
|
|
433
|
+ "$ref": "#/definitions/MiniUserInfoResponse"
|
|
|
434
|
+ }
|
|
|
435
|
+ }
|
|
|
436
|
+ },
|
|
|
437
|
+ "parameters": [
|
|
|
438
|
+ {
|
|
|
439
|
+ "name": "body",
|
|
|
440
|
+ "in": "body",
|
|
|
441
|
+ "required": true,
|
|
|
442
|
+ "schema": {
|
|
|
443
|
+ "$ref": "#/definitions/MiniUserInfoRequest"
|
|
|
444
|
+ }
|
|
|
445
|
+ }
|
|
|
446
|
+ ],
|
|
|
447
|
+ "requestBody": {},
|
|
|
448
|
+ "tags": [
|
|
|
449
|
+ "user"
|
|
|
450
|
+ ]
|
|
|
451
|
+ }
|
|
|
452
|
+ },
|
|
|
453
|
+ "v1/mini/user/login": {
|
|
|
454
|
+ "post": {
|
|
|
455
|
+ "summary": "用户登录",
|
|
|
456
|
+ "operationId": "miniUserLogin",
|
|
|
457
|
+ "responses": {
|
|
|
458
|
+ "200": {
|
|
|
459
|
+ "description": "A successful response.",
|
|
|
460
|
+ "schema": {
|
|
|
461
|
+ "$ref": "#/definitions/MiniUserLoginResponse"
|
|
|
462
|
+ }
|
|
|
463
|
+ }
|
|
|
464
|
+ },
|
|
|
465
|
+ "parameters": [
|
|
|
466
|
+ {
|
|
|
467
|
+ "name": "body",
|
|
|
468
|
+ "in": "body",
|
|
|
469
|
+ "required": true,
|
|
|
470
|
+ "schema": {
|
|
|
471
|
+ "$ref": "#/definitions/MiniUserLoginRequest"
|
|
|
472
|
+ }
|
|
|
473
|
+ }
|
|
|
474
|
+ ],
|
|
|
475
|
+ "requestBody": {},
|
|
|
476
|
+ "tags": [
|
|
|
477
|
+ "user"
|
|
|
478
|
+ ]
|
|
|
479
|
+ }
|
|
|
480
|
+ },
|
|
|
481
|
+ "v1/mini/user/unfollow": {
|
|
|
482
|
+ "post": {
|
|
|
483
|
+ "summary": "取消关注",
|
|
|
484
|
+ "operationId": "miniUserUnFollow",
|
|
|
485
|
+ "responses": {
|
|
|
486
|
+ "200": {
|
|
|
487
|
+ "description": "A successful response.",
|
|
|
488
|
+ "schema": {}
|
|
|
489
|
+ }
|
|
|
490
|
+ },
|
|
|
491
|
+ "parameters": [
|
|
|
492
|
+ {
|
|
|
493
|
+ "name": "body",
|
|
|
494
|
+ "in": "body",
|
|
|
495
|
+ "required": true,
|
|
|
496
|
+ "schema": {
|
|
|
497
|
+ "$ref": "#/definitions/FollowRequest"
|
|
|
498
|
+ }
|
|
|
499
|
+ }
|
|
|
500
|
+ ],
|
|
|
501
|
+ "requestBody": {},
|
|
|
502
|
+ "tags": [
|
|
|
503
|
+ "user"
|
|
|
504
|
+ ]
|
|
|
505
|
+ }
|
|
|
506
|
+ },
|
36
|
"v1/system/comment": {
|
507
|
"v1/system/comment": {
|
37
|
"get": {
|
508
|
"get": {
|
38
|
"summary": "系统评论",
|
509
|
"summary": "系统评论",
|
|
@@ -50,16 +521,44 @@ |
|
@@ -50,16 +521,44 @@ |
50
|
"comment"
|
521
|
"comment"
|
51
|
]
|
522
|
]
|
52
|
}
|
523
|
}
|
53
|
- }
|
|
|
54
|
- },
|
|
|
55
|
- "definitions": {
|
|
|
56
|
- "Comment": {
|
|
|
57
|
- "type": "object",
|
|
|
58
|
- "title": "Comment"
|
|
|
59
|
- },
|
|
|
60
|
- "CommentRequest": {
|
|
|
61
|
- "type": "object",
|
|
|
62
|
- "title": "CommentRequest"
|
524
|
+ },
|
|
|
525
|
+ "v1/system/company/search": {
|
|
|
526
|
+ "post": {
|
|
|
527
|
+ "summary": "公司搜索",
|
|
|
528
|
+ "operationId": "systemCompanySearch",
|
|
|
529
|
+ "responses": {
|
|
|
530
|
+ "200": {
|
|
|
531
|
+ "description": "A successful response.",
|
|
|
532
|
+ "schema": {
|
|
|
533
|
+ "$ref": "#/definitions/CompanySearchResponse"
|
|
|
534
|
+ }
|
|
|
535
|
+ }
|
|
|
536
|
+ },
|
|
|
537
|
+ "parameters": [
|
|
|
538
|
+ {
|
|
|
539
|
+ "name": "body",
|
|
|
540
|
+ "in": "body",
|
|
|
541
|
+ "required": true,
|
|
|
542
|
+ "schema": {
|
|
|
543
|
+ "$ref": "#/definitions/CompanySearchRequest"
|
|
|
544
|
+ }
|
|
|
545
|
+ }
|
|
|
546
|
+ ],
|
|
|
547
|
+ "requestBody": {},
|
|
|
548
|
+ "tags": [
|
|
|
549
|
+ "company"
|
|
|
550
|
+ ]
|
|
|
551
|
+ }
|
|
|
552
|
+ }
|
|
|
553
|
+ },
|
|
|
554
|
+ "definitions": {
|
|
|
555
|
+ "Comment": {
|
|
|
556
|
+ "type": "object",
|
|
|
557
|
+ "title": "Comment"
|
|
|
558
|
+ },
|
|
|
559
|
+ "CommentRequest": {
|
|
|
560
|
+ "type": "object",
|
|
|
561
|
+ "title": "CommentRequest"
|
63
|
},
|
562
|
},
|
64
|
"CommentResposne": {
|
563
|
"CommentResposne": {
|
65
|
"type": "object",
|
564
|
"type": "object",
|
|
@@ -75,6 +574,886 @@ |
|
@@ -75,6 +574,886 @@ |
75
|
"required": [
|
574
|
"required": [
|
76
|
"list"
|
575
|
"list"
|
77
|
]
|
576
|
]
|
|
|
577
|
+ },
|
|
|
578
|
+ "Company": {
|
|
|
579
|
+ "type": "object",
|
|
|
580
|
+ "properties": {
|
|
|
581
|
+ "id": {
|
|
|
582
|
+ "type": "integer",
|
|
|
583
|
+ "format": "int64",
|
|
|
584
|
+ "description": " 唯一标识"
|
|
|
585
|
+ },
|
|
|
586
|
+ "name": {
|
|
|
587
|
+ "type": "string",
|
|
|
588
|
+ "description": " 名称"
|
|
|
589
|
+ },
|
|
|
590
|
+ "code": {
|
|
|
591
|
+ "type": "string",
|
|
|
592
|
+ "description": " 编码(搜索使用,4位字母数字)"
|
|
|
593
|
+ },
|
|
|
594
|
+ "logo": {
|
|
|
595
|
+ "type": "string",
|
|
|
596
|
+ "description": " 公司LOGO"
|
|
|
597
|
+ }
|
|
|
598
|
+ },
|
|
|
599
|
+ "title": "Company",
|
|
|
600
|
+ "required": [
|
|
|
601
|
+ "id",
|
|
|
602
|
+ "name",
|
|
|
603
|
+ "code",
|
|
|
604
|
+ "logo"
|
|
|
605
|
+ ]
|
|
|
606
|
+ },
|
|
|
607
|
+ "CompanySearchRequest": {
|
|
|
608
|
+ "type": "object",
|
|
|
609
|
+ "properties": {
|
|
|
610
|
+ "page": {
|
|
|
611
|
+ "type": "integer",
|
|
|
612
|
+ "format": "int32"
|
|
|
613
|
+ },
|
|
|
614
|
+ "size": {
|
|
|
615
|
+ "type": "integer",
|
|
|
616
|
+ "format": "int32"
|
|
|
617
|
+ },
|
|
|
618
|
+ "userId": {
|
|
|
619
|
+ "type": "integer",
|
|
|
620
|
+ "format": "int64",
|
|
|
621
|
+ "description": " 按用户搜索"
|
|
|
622
|
+ },
|
|
|
623
|
+ "code": {
|
|
|
624
|
+ "type": "string",
|
|
|
625
|
+ "description": " 按编码搜索"
|
|
|
626
|
+ }
|
|
|
627
|
+ },
|
|
|
628
|
+ "title": "CompanySearchRequest",
|
|
|
629
|
+ "required": [
|
|
|
630
|
+ "page",
|
|
|
631
|
+ "size"
|
|
|
632
|
+ ]
|
|
|
633
|
+ },
|
|
|
634
|
+ "CompanySearchResponse": {
|
|
|
635
|
+ "type": "object",
|
|
|
636
|
+ "properties": {
|
|
|
637
|
+ "list": {
|
|
|
638
|
+ "type": "array",
|
|
|
639
|
+ "items": {
|
|
|
640
|
+ "$ref": "#/definitions/Company"
|
|
|
641
|
+ }
|
|
|
642
|
+ },
|
|
|
643
|
+ "total": {
|
|
|
644
|
+ "type": "integer",
|
|
|
645
|
+ "format": "int64"
|
|
|
646
|
+ }
|
|
|
647
|
+ },
|
|
|
648
|
+ "title": "CompanySearchResponse",
|
|
|
649
|
+ "required": [
|
|
|
650
|
+ "list",
|
|
|
651
|
+ "total"
|
|
|
652
|
+ ]
|
|
|
653
|
+ },
|
|
|
654
|
+ "Department": {
|
|
|
655
|
+ "type": "object",
|
|
|
656
|
+ "properties": {
|
|
|
657
|
+ "id": {
|
|
|
658
|
+ "type": "integer",
|
|
|
659
|
+ "format": "int64",
|
|
|
660
|
+ "description": " 部门ID"
|
|
|
661
|
+ },
|
|
|
662
|
+ "companyId": {
|
|
|
663
|
+ "type": "integer",
|
|
|
664
|
+ "format": "int64",
|
|
|
665
|
+ "description": " 公司ID"
|
|
|
666
|
+ },
|
|
|
667
|
+ "parentId": {
|
|
|
668
|
+ "type": "integer",
|
|
|
669
|
+ "format": "int64",
|
|
|
670
|
+ "description": " 父级ID"
|
|
|
671
|
+ },
|
|
|
672
|
+ "name": {
|
|
|
673
|
+ "type": "string",
|
|
|
674
|
+ "description": " 部门名称"
|
|
|
675
|
+ }
|
|
|
676
|
+ },
|
|
|
677
|
+ "title": "Department",
|
|
|
678
|
+ "required": [
|
|
|
679
|
+ "id",
|
|
|
680
|
+ "companyId",
|
|
|
681
|
+ "parentId",
|
|
|
682
|
+ "name"
|
|
|
683
|
+ ]
|
|
|
684
|
+ },
|
|
|
685
|
+ "FollowRequest": {
|
|
|
686
|
+ "type": "object",
|
|
|
687
|
+ "properties": {
|
|
|
688
|
+ "userId": {
|
|
|
689
|
+ "type": "integer",
|
|
|
690
|
+ "format": "int64"
|
|
|
691
|
+ }
|
|
|
692
|
+ },
|
|
|
693
|
+ "title": "FollowRequest",
|
|
|
694
|
+ "required": [
|
|
|
695
|
+ "userId"
|
|
|
696
|
+ ]
|
|
|
697
|
+ },
|
|
|
698
|
+ "MessageBusinessItem": {
|
|
|
699
|
+ "type": "object",
|
|
|
700
|
+ "properties": {
|
|
|
701
|
+ "id": {
|
|
|
702
|
+ "type": "integer",
|
|
|
703
|
+ "format": "int64"
|
|
|
704
|
+ },
|
|
|
705
|
+ "companyId": {
|
|
|
706
|
+ "type": "integer",
|
|
|
707
|
+ "format": "int64",
|
|
|
708
|
+ "description": " 公司ID"
|
|
|
709
|
+ },
|
|
|
710
|
+ "type": {
|
|
|
711
|
+ "type": "integer",
|
|
|
712
|
+ "format": "int32",
|
|
|
713
|
+ "description": " 分类 (1回复 2点赞 3被采纳)"
|
|
|
714
|
+ },
|
|
|
715
|
+ "optType": {
|
|
|
716
|
+ "type": "integer",
|
|
|
717
|
+ "format": "int32",
|
|
|
718
|
+ "description": " 操作类型(1针对文章、1针对评论、2针对圆桌)"
|
|
|
719
|
+ },
|
|
|
720
|
+ "triggerId": {
|
|
|
721
|
+ "type": "integer",
|
|
|
722
|
+ "format": "int64",
|
|
|
723
|
+ "description": " 触发者ID"
|
|
|
724
|
+ },
|
|
|
725
|
+ "recipientId": {
|
|
|
726
|
+ "type": "integer",
|
|
|
727
|
+ "format": "int64",
|
|
|
728
|
+ "description": " 接收者ID"
|
|
|
729
|
+ },
|
|
|
730
|
+ "articleId": {
|
|
|
731
|
+ "type": "integer",
|
|
|
732
|
+ "format": "int64",
|
|
|
733
|
+ "description": " 文章ID"
|
|
|
734
|
+ },
|
|
|
735
|
+ "commentId": {
|
|
|
736
|
+ "type": "integer",
|
|
|
737
|
+ "format": "int64",
|
|
|
738
|
+ "description": " 评论ID"
|
|
|
739
|
+ },
|
|
|
740
|
+ "discussionId": {
|
|
|
741
|
+ "type": "integer",
|
|
|
742
|
+ "format": "int64",
|
|
|
743
|
+ "description": " 圆桌ID"
|
|
|
744
|
+ },
|
|
|
745
|
+ "discussionOpinionId": {
|
|
|
746
|
+ "type": "integer",
|
|
|
747
|
+ "format": "int64",
|
|
|
748
|
+ "description": " 观点ID"
|
|
|
749
|
+ },
|
|
|
750
|
+ "content": {
|
|
|
751
|
+ "type": "string",
|
|
|
752
|
+ "description": " 消息内容"
|
|
|
753
|
+ },
|
|
|
754
|
+ "createdAt": {
|
|
|
755
|
+ "type": "integer",
|
|
|
756
|
+ "format": "int64",
|
|
|
757
|
+ "description": " 创建时间"
|
|
|
758
|
+ },
|
|
|
759
|
+ "userTrigger": {
|
|
|
760
|
+ "$ref": "#/definitions/User",
|
|
|
761
|
+ "description": " 触发者"
|
|
|
762
|
+ }
|
|
|
763
|
+ },
|
|
|
764
|
+ "title": "MessageBusinessItem",
|
|
|
765
|
+ "required": [
|
|
|
766
|
+ "id",
|
|
|
767
|
+ "companyId",
|
|
|
768
|
+ "type",
|
|
|
769
|
+ "optType",
|
|
|
770
|
+ "triggerId",
|
|
|
771
|
+ "recipientId",
|
|
|
772
|
+ "articleId",
|
|
|
773
|
+ "commentId",
|
|
|
774
|
+ "discussionId",
|
|
|
775
|
+ "discussionOpinionId",
|
|
|
776
|
+ "content",
|
|
|
777
|
+ "createdAt",
|
|
|
778
|
+ "userTrigger"
|
|
|
779
|
+ ]
|
|
|
780
|
+ },
|
|
|
781
|
+ "MessageBusinessRequest": {
|
|
|
782
|
+ "type": "object",
|
|
|
783
|
+ "properties": {
|
|
|
784
|
+ "page": {
|
|
|
785
|
+ "type": "integer",
|
|
|
786
|
+ "format": "int32"
|
|
|
787
|
+ },
|
|
|
788
|
+ "size": {
|
|
|
789
|
+ "type": "integer",
|
|
|
790
|
+ "format": "int32"
|
|
|
791
|
+ }
|
|
|
792
|
+ },
|
|
|
793
|
+ "title": "MessageBusinessRequest",
|
|
|
794
|
+ "required": [
|
|
|
795
|
+ "page",
|
|
|
796
|
+ "size"
|
|
|
797
|
+ ]
|
|
|
798
|
+ },
|
|
|
799
|
+ "MessageBusinessResponse": {
|
|
|
800
|
+ "type": "object",
|
|
|
801
|
+ "properties": {
|
|
|
802
|
+ "list": {
|
|
|
803
|
+ "type": "array",
|
|
|
804
|
+ "items": {
|
|
|
805
|
+ "$ref": "#/definitions/MessageBusinessItem"
|
|
|
806
|
+ }
|
|
|
807
|
+ },
|
|
|
808
|
+ "total": {
|
|
|
809
|
+ "type": "integer",
|
|
|
810
|
+ "format": "int64"
|
|
|
811
|
+ }
|
|
|
812
|
+ },
|
|
|
813
|
+ "title": "MessageBusinessResponse",
|
|
|
814
|
+ "required": [
|
|
|
815
|
+ "list",
|
|
|
816
|
+ "total"
|
|
|
817
|
+ ]
|
|
|
818
|
+ },
|
|
|
819
|
+ "MessageSystemItem": {
|
|
|
820
|
+ "type": "object",
|
|
|
821
|
+ "properties": {
|
|
|
822
|
+ "id": {
|
|
|
823
|
+ "type": "integer",
|
|
|
824
|
+ "format": "int64",
|
|
|
825
|
+ "description": " ID"
|
|
|
826
|
+ },
|
|
|
827
|
+ "type": {
|
|
|
828
|
+ "type": "integer",
|
|
|
829
|
+ "format": "int32",
|
|
|
830
|
+ "description": " 系统分类"
|
|
|
831
|
+ },
|
|
|
832
|
+ "title": {
|
|
|
833
|
+ "type": "string",
|
|
|
834
|
+ "description": " 标题"
|
|
|
835
|
+ },
|
|
|
836
|
+ "content": {
|
|
|
837
|
+ "type": "string",
|
|
|
838
|
+ "description": " 内容"
|
|
|
839
|
+ },
|
|
|
840
|
+ "createdAt": {
|
|
|
841
|
+ "type": "integer",
|
|
|
842
|
+ "format": "int64",
|
|
|
843
|
+ "description": " 创建时间"
|
|
|
844
|
+ }
|
|
|
845
|
+ },
|
|
|
846
|
+ "title": "MessageSystemItem",
|
|
|
847
|
+ "required": [
|
|
|
848
|
+ "id",
|
|
|
849
|
+ "type",
|
|
|
850
|
+ "title",
|
|
|
851
|
+ "content",
|
|
|
852
|
+ "createdAt"
|
|
|
853
|
+ ]
|
|
|
854
|
+ },
|
|
|
855
|
+ "MessageSystemRequest": {
|
|
|
856
|
+ "type": "object",
|
|
|
857
|
+ "properties": {
|
|
|
858
|
+ "page": {
|
|
|
859
|
+ "type": "integer",
|
|
|
860
|
+ "format": "int32"
|
|
|
861
|
+ },
|
|
|
862
|
+ "size": {
|
|
|
863
|
+ "type": "integer",
|
|
|
864
|
+ "format": "int32"
|
|
|
865
|
+ }
|
|
|
866
|
+ },
|
|
|
867
|
+ "title": "MessageSystemRequest",
|
|
|
868
|
+ "required": [
|
|
|
869
|
+ "page",
|
|
|
870
|
+ "size"
|
|
|
871
|
+ ]
|
|
|
872
|
+ },
|
|
|
873
|
+ "MessageSystemResponse": {
|
|
|
874
|
+ "type": "object",
|
|
|
875
|
+ "properties": {
|
|
|
876
|
+ "list": {
|
|
|
877
|
+ "type": "array",
|
|
|
878
|
+ "items": {
|
|
|
879
|
+ "$ref": "#/definitions/MessageSystemItem"
|
|
|
880
|
+ }
|
|
|
881
|
+ },
|
|
|
882
|
+ "total": {
|
|
|
883
|
+ "type": "integer",
|
|
|
884
|
+ "format": "int64"
|
|
|
885
|
+ }
|
|
|
886
|
+ },
|
|
|
887
|
+ "title": "MessageSystemResponse",
|
|
|
888
|
+ "required": [
|
|
|
889
|
+ "list",
|
|
|
890
|
+ "total"
|
|
|
891
|
+ ]
|
|
|
892
|
+ },
|
|
|
893
|
+ "MiniUserApplyJoinCompanyRequest": {
|
|
|
894
|
+ "type": "object",
|
|
|
895
|
+ "properties": {
|
|
|
896
|
+ "phone": {
|
|
|
897
|
+ "type": "string"
|
|
|
898
|
+ },
|
|
|
899
|
+ "code": {
|
|
|
900
|
+ "type": "string"
|
|
|
901
|
+ }
|
|
|
902
|
+ },
|
|
|
903
|
+ "title": "MiniUserApplyJoinCompanyRequest",
|
|
|
904
|
+ "required": [
|
|
|
905
|
+ "phone",
|
|
|
906
|
+ "code"
|
|
|
907
|
+ ]
|
|
|
908
|
+ },
|
|
|
909
|
+ "MiniUserApplyJoinCompanyResponse": {
|
|
|
910
|
+ "type": "object",
|
|
|
911
|
+ "title": "MiniUserApplyJoinCompanyResponse"
|
|
|
912
|
+ },
|
|
|
913
|
+ "MiniUserAuditRequest": {
|
|
|
914
|
+ "type": "object",
|
|
|
915
|
+ "properties": {
|
|
|
916
|
+ "userId": {
|
|
|
917
|
+ "type": "integer",
|
|
|
918
|
+ "format": "int64",
|
|
|
919
|
+ "description": " 用户ID"
|
|
|
920
|
+ }
|
|
|
921
|
+ },
|
|
|
922
|
+ "title": "MiniUserAuditRequest",
|
|
|
923
|
+ "required": [
|
|
|
924
|
+ "userId"
|
|
|
925
|
+ ]
|
|
|
926
|
+ },
|
|
|
927
|
+ "MiniUserDepartmentUsersRequest": {
|
|
|
928
|
+ "type": "object",
|
|
|
929
|
+ "title": "MiniUserDepartmentUsersRequest"
|
|
|
930
|
+ },
|
|
|
931
|
+ "MiniUserDepartmentUsersResponse": {
|
|
|
932
|
+ "type": "object",
|
|
|
933
|
+ "properties": {
|
|
|
934
|
+ "departments": {
|
|
|
935
|
+ "type": "array",
|
|
|
936
|
+ "items": {
|
|
|
937
|
+ "$ref": "#/definitions/Department"
|
|
|
938
|
+ }
|
|
|
939
|
+ },
|
|
|
940
|
+ "users": {
|
|
|
941
|
+ "type": "array",
|
|
|
942
|
+ "items": {
|
|
|
943
|
+ "$ref": "#/definitions/UserItem"
|
|
|
944
|
+ }
|
|
|
945
|
+ }
|
|
|
946
|
+ },
|
|
|
947
|
+ "title": "MiniUserDepartmentUsersResponse",
|
|
|
948
|
+ "required": [
|
|
|
949
|
+ "departments",
|
|
|
950
|
+ "users"
|
|
|
951
|
+ ]
|
|
|
952
|
+ },
|
|
|
953
|
+ "MiniUserInfoRequest": {
|
|
|
954
|
+ "type": "object",
|
|
|
955
|
+ "title": "MiniUserInfoRequest"
|
|
|
956
|
+ },
|
|
|
957
|
+ "MiniUserInfoResponse": {
|
|
|
958
|
+ "type": "object",
|
|
|
959
|
+ "properties": {
|
|
|
960
|
+ "user": {
|
|
|
961
|
+ "$ref": "#/definitions/UserItem",
|
|
|
962
|
+ "description": " 用户信息"
|
|
|
963
|
+ },
|
|
|
964
|
+ "totalArticle": {
|
|
|
965
|
+ "type": "integer",
|
|
|
966
|
+ "format": "int64",
|
|
|
967
|
+ "description": " 累计信息发布"
|
|
|
968
|
+ },
|
|
|
969
|
+ "totalLoved": {
|
|
|
970
|
+ "type": "integer",
|
|
|
971
|
+ "format": "int64",
|
|
|
972
|
+ "description": " 累计收到的赞"
|
|
|
973
|
+ },
|
|
|
974
|
+ "totalAccepted": {
|
|
|
975
|
+ "type": "integer",
|
|
|
976
|
+ "format": "int64",
|
|
|
977
|
+ "description": " 累计被采纳"
|
|
|
978
|
+ }
|
|
|
979
|
+ },
|
|
|
980
|
+ "title": "MiniUserInfoResponse",
|
|
|
981
|
+ "required": [
|
|
|
982
|
+ "user",
|
|
|
983
|
+ "totalArticle",
|
|
|
984
|
+ "totalLoved",
|
|
|
985
|
+ "totalAccepted"
|
|
|
986
|
+ ]
|
|
|
987
|
+ },
|
|
|
988
|
+ "MiniUserLoginRequest": {
|
|
|
989
|
+ "type": "object",
|
|
|
990
|
+ "properties": {
|
|
|
991
|
+ "loginType": {
|
|
|
992
|
+ "type": "string",
|
|
|
993
|
+ "description": " 登录类型 wechat-login whchat-phone-login phone-password-login phone-smscode-login"
|
|
|
994
|
+ },
|
|
|
995
|
+ "wechatAuthcode": {
|
|
|
996
|
+ "type": "string",
|
|
|
997
|
+ "description": " 微信登录 授权码"
|
|
|
998
|
+ },
|
|
|
999
|
+ "wechatEncryptedData": {
|
|
|
1000
|
+ "type": "string",
|
|
|
1001
|
+ "description": " 微信登录 加密数据"
|
|
|
1002
|
+ },
|
|
|
1003
|
+ "wechatIV": {
|
|
|
1004
|
+ "type": "string",
|
|
|
1005
|
+ "description": " 微信登录 加密算法初始向量"
|
|
|
1006
|
+ },
|
|
|
1007
|
+ "phone": {
|
|
|
1008
|
+ "type": "string",
|
|
|
1009
|
+ "description": " 手机号"
|
|
|
1010
|
+ },
|
|
|
1011
|
+ "password": {
|
|
|
1012
|
+ "type": "string",
|
|
|
1013
|
+ "description": " 密码"
|
|
|
1014
|
+ },
|
|
|
1015
|
+ "smsCode": {
|
|
|
1016
|
+ "type": "string",
|
|
|
1017
|
+ "description": " 短信验证码"
|
|
|
1018
|
+ }
|
|
|
1019
|
+ },
|
|
|
1020
|
+ "title": "MiniUserLoginRequest",
|
|
|
1021
|
+ "required": [
|
|
|
1022
|
+ "loginType"
|
|
|
1023
|
+ ]
|
|
|
1024
|
+ },
|
|
|
1025
|
+ "MiniUserLoginResponse": {
|
|
|
1026
|
+ "type": "object",
|
|
|
1027
|
+ "properties": {
|
|
|
1028
|
+ "token": {
|
|
|
1029
|
+ "type": "string",
|
|
|
1030
|
+ "description": " x-token"
|
|
|
1031
|
+ },
|
|
|
1032
|
+ "phone": {
|
|
|
1033
|
+ "type": "string",
|
|
|
1034
|
+ "description": " 手机号"
|
|
|
1035
|
+ },
|
|
|
1036
|
+ "message": {
|
|
|
1037
|
+ "type": "string",
|
|
|
1038
|
+ "description": " 失败消息(审核中,注册成功等待审核)"
|
|
|
1039
|
+ },
|
|
|
1040
|
+ "success": {
|
|
|
1041
|
+ "type": "boolean",
|
|
|
1042
|
+ "format": "boolean",
|
|
|
1043
|
+ "description": " 成功标识"
|
|
|
1044
|
+ }
|
|
|
1045
|
+ },
|
|
|
1046
|
+ "title": "MiniUserLoginResponse",
|
|
|
1047
|
+ "required": [
|
|
|
1048
|
+ "token",
|
|
|
1049
|
+ "phone",
|
|
|
1050
|
+ "message",
|
|
|
1051
|
+ "success"
|
|
|
1052
|
+ ]
|
|
|
1053
|
+ },
|
|
|
1054
|
+ "TagCreateRequest": {
|
|
|
1055
|
+ "type": "object",
|
|
|
1056
|
+ "properties": {
|
|
|
1057
|
+ "companyId": {
|
|
|
1058
|
+ "type": "integer",
|
|
|
1059
|
+ "format": "int64"
|
|
|
1060
|
+ },
|
|
|
1061
|
+ "image": {
|
|
|
1062
|
+ "type": "string"
|
|
|
1063
|
+ },
|
|
|
1064
|
+ "name": {
|
|
|
1065
|
+ "type": "string",
|
|
|
1066
|
+ "description": " 标签名称"
|
|
|
1067
|
+ },
|
|
|
1068
|
+ "group": {
|
|
|
1069
|
+ "type": "string",
|
|
|
1070
|
+ "description": " 标签分类"
|
|
|
1071
|
+ },
|
|
|
1072
|
+ "remark": {
|
|
|
1073
|
+ "type": "string",
|
|
|
1074
|
+ "description": " 备注"
|
|
|
1075
|
+ }
|
|
|
1076
|
+ },
|
|
|
1077
|
+ "title": "TagCreateRequest",
|
|
|
1078
|
+ "required": [
|
|
|
1079
|
+ "companyId",
|
|
|
1080
|
+ "image",
|
|
|
1081
|
+ "name",
|
|
|
1082
|
+ "group",
|
|
|
1083
|
+ "remark"
|
|
|
1084
|
+ ]
|
|
|
1085
|
+ },
|
|
|
1086
|
+ "TagCreateResponse": {
|
|
|
1087
|
+ "type": "object",
|
|
|
1088
|
+ "properties": {
|
|
|
1089
|
+ "id": {
|
|
|
1090
|
+ "type": "integer",
|
|
|
1091
|
+ "format": "int64"
|
|
|
1092
|
+ }
|
|
|
1093
|
+ },
|
|
|
1094
|
+ "title": "TagCreateResponse",
|
|
|
1095
|
+ "required": [
|
|
|
1096
|
+ "id"
|
|
|
1097
|
+ ]
|
|
|
1098
|
+ },
|
|
|
1099
|
+ "TagDeleteRequest": {
|
|
|
1100
|
+ "type": "object",
|
|
|
1101
|
+ "properties": {
|
|
|
1102
|
+ "id": {
|
|
|
1103
|
+ "type": "integer",
|
|
|
1104
|
+ "format": "int64"
|
|
|
1105
|
+ }
|
|
|
1106
|
+ },
|
|
|
1107
|
+ "title": "TagDeleteRequest",
|
|
|
1108
|
+ "required": [
|
|
|
1109
|
+ "id"
|
|
|
1110
|
+ ]
|
|
|
1111
|
+ },
|
|
|
1112
|
+ "TagDeleteResponse": {
|
|
|
1113
|
+ "type": "object",
|
|
|
1114
|
+ "properties": {
|
|
|
1115
|
+ "id": {
|
|
|
1116
|
+ "type": "integer",
|
|
|
1117
|
+ "format": "int64"
|
|
|
1118
|
+ }
|
|
|
1119
|
+ },
|
|
|
1120
|
+ "title": "TagDeleteResponse",
|
|
|
1121
|
+ "required": [
|
|
|
1122
|
+ "id"
|
|
|
1123
|
+ ]
|
|
|
1124
|
+ },
|
|
|
1125
|
+ "TagEditRequest": {
|
|
|
1126
|
+ "type": "object",
|
|
|
1127
|
+ "properties": {
|
|
|
1128
|
+ "id": {
|
|
|
1129
|
+ "type": "integer",
|
|
|
1130
|
+ "format": "int64"
|
|
|
1131
|
+ },
|
|
|
1132
|
+ "companyId": {
|
|
|
1133
|
+ "type": "integer",
|
|
|
1134
|
+ "format": "int64"
|
|
|
1135
|
+ },
|
|
|
1136
|
+ "image": {
|
|
|
1137
|
+ "type": "string"
|
|
|
1138
|
+ },
|
|
|
1139
|
+ "name": {
|
|
|
1140
|
+ "type": "string",
|
|
|
1141
|
+ "description": " 标签名称"
|
|
|
1142
|
+ },
|
|
|
1143
|
+ "group": {
|
|
|
1144
|
+ "type": "string",
|
|
|
1145
|
+ "description": " 标签分类"
|
|
|
1146
|
+ },
|
|
|
1147
|
+ "remark": {
|
|
|
1148
|
+ "type": "string",
|
|
|
1149
|
+ "description": " 备注"
|
|
|
1150
|
+ }
|
|
|
1151
|
+ },
|
|
|
1152
|
+ "title": "TagEditRequest",
|
|
|
1153
|
+ "required": [
|
|
|
1154
|
+ "id",
|
|
|
1155
|
+ "companyId",
|
|
|
1156
|
+ "image",
|
|
|
1157
|
+ "name",
|
|
|
1158
|
+ "group",
|
|
|
1159
|
+ "remark"
|
|
|
1160
|
+ ]
|
|
|
1161
|
+ },
|
|
|
1162
|
+ "TagEditResponse": {
|
|
|
1163
|
+ "type": "object",
|
|
|
1164
|
+ "properties": {
|
|
|
1165
|
+ "id": {
|
|
|
1166
|
+ "type": "integer",
|
|
|
1167
|
+ "format": "int64"
|
|
|
1168
|
+ }
|
|
|
1169
|
+ },
|
|
|
1170
|
+ "title": "TagEditResponse",
|
|
|
1171
|
+ "required": [
|
|
|
1172
|
+ "id"
|
|
|
1173
|
+ ]
|
|
|
1174
|
+ },
|
|
|
1175
|
+ "TagGetRequest": {
|
|
|
1176
|
+ "type": "object",
|
|
|
1177
|
+ "properties": {
|
|
|
1178
|
+ "id": {
|
|
|
1179
|
+ "type": "integer",
|
|
|
1180
|
+ "format": "int64"
|
|
|
1181
|
+ }
|
|
|
1182
|
+ },
|
|
|
1183
|
+ "title": "TagGetRequest",
|
|
|
1184
|
+ "required": [
|
|
|
1185
|
+ "id"
|
|
|
1186
|
+ ]
|
|
|
1187
|
+ },
|
|
|
1188
|
+ "TagGetResponse": {
|
|
|
1189
|
+ "type": "object",
|
|
|
1190
|
+ "properties": {
|
|
|
1191
|
+ "id": {
|
|
|
1192
|
+ "type": "integer",
|
|
|
1193
|
+ "format": "int64"
|
|
|
1194
|
+ },
|
|
|
1195
|
+ "image": {
|
|
|
1196
|
+ "type": "string"
|
|
|
1197
|
+ },
|
|
|
1198
|
+ "name": {
|
|
|
1199
|
+ "type": "string",
|
|
|
1200
|
+ "description": " 标签名称"
|
|
|
1201
|
+ },
|
|
|
1202
|
+ "group": {
|
|
|
1203
|
+ "type": "string",
|
|
|
1204
|
+ "description": " 标签分类"
|
|
|
1205
|
+ },
|
|
|
1206
|
+ "remark": {
|
|
|
1207
|
+ "type": "string",
|
|
|
1208
|
+ "description": " 备注"
|
|
|
1209
|
+ }
|
|
|
1210
|
+ },
|
|
|
1211
|
+ "title": "TagGetResponse",
|
|
|
1212
|
+ "required": [
|
|
|
1213
|
+ "id",
|
|
|
1214
|
+ "image",
|
|
|
1215
|
+ "name",
|
|
|
1216
|
+ "group",
|
|
|
1217
|
+ "remark"
|
|
|
1218
|
+ ]
|
|
|
1219
|
+ },
|
|
|
1220
|
+ "TagItem": {
|
|
|
1221
|
+ "type": "object",
|
|
|
1222
|
+ "properties": {
|
|
|
1223
|
+ "id": {
|
|
|
1224
|
+ "type": "integer",
|
|
|
1225
|
+ "format": "int64"
|
|
|
1226
|
+ },
|
|
|
1227
|
+ "image": {
|
|
|
1228
|
+ "type": "string"
|
|
|
1229
|
+ },
|
|
|
1230
|
+ "name": {
|
|
|
1231
|
+ "type": "string",
|
|
|
1232
|
+ "description": " 标签名称"
|
|
|
1233
|
+ },
|
|
|
1234
|
+ "group": {
|
|
|
1235
|
+ "type": "string",
|
|
|
1236
|
+ "description": " 标签分类"
|
|
|
1237
|
+ },
|
|
|
1238
|
+ "remark": {
|
|
|
1239
|
+ "type": "string",
|
|
|
1240
|
+ "description": " 备注"
|
|
|
1241
|
+ },
|
|
|
1242
|
+ "createdAt": {
|
|
|
1243
|
+ "type": "integer",
|
|
|
1244
|
+ "format": "int64"
|
|
|
1245
|
+ }
|
|
|
1246
|
+ },
|
|
|
1247
|
+ "title": "TagItem",
|
|
|
1248
|
+ "required": [
|
|
|
1249
|
+ "id",
|
|
|
1250
|
+ "image",
|
|
|
1251
|
+ "name",
|
|
|
1252
|
+ "group",
|
|
|
1253
|
+ "remark",
|
|
|
1254
|
+ "createdAt"
|
|
|
1255
|
+ ]
|
|
|
1256
|
+ },
|
|
|
1257
|
+ "TagListRequest": {
|
|
|
1258
|
+ "type": "object",
|
|
|
1259
|
+ "properties": {
|
|
|
1260
|
+ "page": {
|
|
|
1261
|
+ "type": "integer",
|
|
|
1262
|
+ "format": "int32"
|
|
|
1263
|
+ },
|
|
|
1264
|
+ "size": {
|
|
|
1265
|
+ "type": "integer",
|
|
|
1266
|
+ "format": "int32"
|
|
|
1267
|
+ }
|
|
|
1268
|
+ },
|
|
|
1269
|
+ "title": "TagListRequest",
|
|
|
1270
|
+ "required": [
|
|
|
1271
|
+ "page",
|
|
|
1272
|
+ "size"
|
|
|
1273
|
+ ]
|
|
|
1274
|
+ },
|
|
|
1275
|
+ "TagListResponse": {
|
|
|
1276
|
+ "type": "object",
|
|
|
1277
|
+ "properties": {
|
|
|
1278
|
+ "total": {
|
|
|
1279
|
+ "type": "integer",
|
|
|
1280
|
+ "format": "int32"
|
|
|
1281
|
+ },
|
|
|
1282
|
+ "list": {
|
|
|
1283
|
+ "type": "array",
|
|
|
1284
|
+ "items": {
|
|
|
1285
|
+ "$ref": "#/definitions/TagItem"
|
|
|
1286
|
+ }
|
|
|
1287
|
+ }
|
|
|
1288
|
+ },
|
|
|
1289
|
+ "title": "TagListResponse",
|
|
|
1290
|
+ "required": [
|
|
|
1291
|
+ "total",
|
|
|
1292
|
+ "list"
|
|
|
1293
|
+ ]
|
|
|
1294
|
+ },
|
|
|
1295
|
+ "User": {
|
|
|
1296
|
+ "type": "object",
|
|
|
1297
|
+ "properties": {
|
|
|
1298
|
+ "id": {
|
|
|
1299
|
+ "type": "integer",
|
|
|
1300
|
+ "format": "int64"
|
|
|
1301
|
+ },
|
|
|
1302
|
+ "companyId": {
|
|
|
1303
|
+ "type": "integer",
|
|
|
1304
|
+ "format": "int64",
|
|
|
1305
|
+ "description": " 公司ID"
|
|
|
1306
|
+ },
|
|
|
1307
|
+ "departmentId": {
|
|
|
1308
|
+ "type": "integer",
|
|
|
1309
|
+ "format": "int64",
|
|
|
1310
|
+ "description": " 部门ID"
|
|
|
1311
|
+ },
|
|
|
1312
|
+ "name": {
|
|
|
1313
|
+ "type": "string",
|
|
|
1314
|
+ "description": " 名称"
|
|
|
1315
|
+ },
|
|
|
1316
|
+ "avatar": {
|
|
|
1317
|
+ "type": "string",
|
|
|
1318
|
+ "description": " 头像"
|
|
|
1319
|
+ },
|
|
|
1320
|
+ "position": {
|
|
|
1321
|
+ "type": "string",
|
|
|
1322
|
+ "description": " 职位"
|
|
|
1323
|
+ }
|
|
|
1324
|
+ },
|
|
|
1325
|
+ "title": "User",
|
|
|
1326
|
+ "required": [
|
|
|
1327
|
+ "id",
|
|
|
1328
|
+ "companyId",
|
|
|
1329
|
+ "departmentId",
|
|
|
1330
|
+ "name",
|
|
|
1331
|
+ "avatar",
|
|
|
1332
|
+ "position"
|
|
|
1333
|
+ ]
|
|
|
1334
|
+ },
|
|
|
1335
|
+ "UserItem": {
|
|
|
1336
|
+ "type": "object",
|
|
|
1337
|
+ "properties": {
|
|
|
1338
|
+ "companyId": {
|
|
|
1339
|
+ "type": "integer",
|
|
|
1340
|
+ "format": "int64",
|
|
|
1341
|
+ "description": " 公司ID"
|
|
|
1342
|
+ },
|
|
|
1343
|
+ "departmentId": {
|
|
|
1344
|
+ "type": "integer",
|
|
|
1345
|
+ "format": "int64",
|
|
|
1346
|
+ "description": " 部门ID"
|
|
|
1347
|
+ },
|
|
|
1348
|
+ "roleId": {
|
|
|
1349
|
+ "type": "array",
|
|
|
1350
|
+ "items": {
|
|
|
1351
|
+ "type": "integer",
|
|
|
1352
|
+ "format": "int64"
|
|
|
1353
|
+ },
|
|
|
1354
|
+ "description": " 角色"
|
|
|
1355
|
+ },
|
|
|
1356
|
+ "flag": {
|
|
|
1357
|
+ "type": "integer",
|
|
|
1358
|
+ "format": "int32",
|
|
|
1359
|
+ "description": " 标识 1:管理员 2:普通用户 (有绑定角色是管理员)"
|
|
|
1360
|
+ },
|
|
|
1361
|
+ "name": {
|
|
|
1362
|
+ "type": "string",
|
|
|
1363
|
+ "description": " 名称"
|
|
|
1364
|
+ },
|
|
|
1365
|
+ "avatar": {
|
|
|
1366
|
+ "type": "string",
|
|
|
1367
|
+ "description": " 头像"
|
|
|
1368
|
+ },
|
|
|
1369
|
+ "phone": {
|
|
|
1370
|
+ "type": "string",
|
|
|
1371
|
+ "description": " 手机号 唯一"
|
|
|
1372
|
+ },
|
|
|
1373
|
+ "position": {
|
|
|
1374
|
+ "type": "string",
|
|
|
1375
|
+ "description": " 职位"
|
|
|
1376
|
+ },
|
|
|
1377
|
+ "enable": {
|
|
|
1378
|
+ "type": "integer",
|
|
|
1379
|
+ "format": "int32",
|
|
|
1380
|
+ "description": " 启用状态 1:启用 2:禁用"
|
|
|
1381
|
+ },
|
|
|
1382
|
+ "auditStatus": {
|
|
|
1383
|
+ "type": "integer",
|
|
|
1384
|
+ "format": "int32",
|
|
|
1385
|
+ "description": " 审核状态 0:待审核 1:审核通过 2:拒绝"
|
|
|
1386
|
+ },
|
|
|
1387
|
+ "followers": {
|
|
|
1388
|
+ "type": "array",
|
|
|
1389
|
+ "items": {
|
|
|
1390
|
+ "type": "integer",
|
|
|
1391
|
+ "format": "int64"
|
|
|
1392
|
+ },
|
|
|
1393
|
+ "description": " 关注我的人 (冗余)"
|
|
|
1394
|
+ },
|
|
|
1395
|
+ "following": {
|
|
|
1396
|
+ "type": "array",
|
|
|
1397
|
+ "items": {
|
|
|
1398
|
+ "type": "integer",
|
|
|
1399
|
+ "format": "int64"
|
|
|
1400
|
+ },
|
|
|
1401
|
+ "description": " 我关注的人 (冗余)"
|
|
|
1402
|
+ }
|
|
|
1403
|
+ },
|
|
|
1404
|
+ "title": "UserItem",
|
|
|
1405
|
+ "required": [
|
|
|
1406
|
+ "companyId",
|
|
|
1407
|
+ "departmentId",
|
|
|
1408
|
+ "roleId",
|
|
|
1409
|
+ "flag",
|
|
|
1410
|
+ "name",
|
|
|
1411
|
+ "avatar",
|
|
|
1412
|
+ "phone",
|
|
|
1413
|
+ "position",
|
|
|
1414
|
+ "enable",
|
|
|
1415
|
+ "auditStatus",
|
|
|
1416
|
+ "followers",
|
|
|
1417
|
+ "following"
|
|
|
1418
|
+ ]
|
|
|
1419
|
+ },
|
|
|
1420
|
+ "UserSearchRequest": {
|
|
|
1421
|
+ "type": "object",
|
|
|
1422
|
+ "properties": {
|
|
|
1423
|
+ "page": {
|
|
|
1424
|
+ "type": "integer",
|
|
|
1425
|
+ "format": "int32"
|
|
|
1426
|
+ },
|
|
|
1427
|
+ "size": {
|
|
|
1428
|
+ "type": "integer",
|
|
|
1429
|
+ "format": "int32"
|
|
|
1430
|
+ },
|
|
|
1431
|
+ "auditFlag": {
|
|
|
1432
|
+ "$ref": "#/definitions/int",
|
|
|
1433
|
+ "description": " 按审核状态 0:待审核 1:审核通过 2:拒绝"
|
|
|
1434
|
+ }
|
|
|
1435
|
+ },
|
|
|
1436
|
+ "title": "UserSearchRequest"
|
|
|
1437
|
+ },
|
|
|
1438
|
+ "UserSearchResponse": {
|
|
|
1439
|
+ "type": "object",
|
|
|
1440
|
+ "properties": {
|
|
|
1441
|
+ "list": {
|
|
|
1442
|
+ "type": "array",
|
|
|
1443
|
+ "items": {
|
|
|
1444
|
+ "$ref": "#/definitions/UserItem"
|
|
|
1445
|
+ }
|
|
|
1446
|
+ },
|
|
|
1447
|
+ "total": {
|
|
|
1448
|
+ "type": "integer",
|
|
|
1449
|
+ "format": "int64"
|
|
|
1450
|
+ }
|
|
|
1451
|
+ },
|
|
|
1452
|
+ "title": "UserSearchResponse",
|
|
|
1453
|
+ "required": [
|
|
|
1454
|
+ "list",
|
|
|
1455
|
+ "total"
|
|
|
1456
|
+ ]
|
78
|
}
|
1457
|
}
|
79
|
},
|
1458
|
},
|
80
|
"securityDefinitions": {
|
1459
|
"securityDefinitions": {
|