|
@@ -18,6 +18,37 @@ |
|
@@ -18,6 +18,37 @@ |
18
|
"application/xml"
|
18
|
"application/xml"
|
19
|
],
|
19
|
],
|
20
|
"paths": {
|
20
|
"paths": {
|
|
|
21
|
+ "/api/business/index": {
|
|
|
22
|
+ "post": {
|
|
|
23
|
+ "tags": [
|
|
|
24
|
+ "unifiedUserCenter"
|
|
|
25
|
+ ],
|
|
|
26
|
+ "summary": "同步企业员工回调",
|
|
|
27
|
+ "description": "同步企业员工回调",
|
|
|
28
|
+ "operationId": "unifiedUserCenter#syncEmployeeCallback",
|
|
|
29
|
+ "parameters": [
|
|
|
30
|
+ {
|
|
|
31
|
+ "name": "SyncEmployeeCallbackRequestBody",
|
|
|
32
|
+ "in": "body",
|
|
|
33
|
+ "required": true,
|
|
|
34
|
+ "schema": {
|
|
|
35
|
+ "$ref": "#/definitions/UnifiedUserCenterSyncEmployeeCallbackRequestBody"
|
|
|
36
|
+ }
|
|
|
37
|
+ }
|
|
|
38
|
+ ],
|
|
|
39
|
+ "responses": {
|
|
|
40
|
+ "200": {
|
|
|
41
|
+ "description": "OK response.",
|
|
|
42
|
+ "schema": {
|
|
|
43
|
+ "$ref": "#/definitions/UnifiedUserCenterSyncEmployeeCallbackResponseBody"
|
|
|
44
|
+ }
|
|
|
45
|
+ }
|
|
|
46
|
+ },
|
|
|
47
|
+ "schemes": [
|
|
|
48
|
+ "http"
|
|
|
49
|
+ ]
|
|
|
50
|
+ }
|
|
|
51
|
+ },
|
21
|
"/config/bid-time-matchs": {
|
52
|
"/config/bid-time-matchs": {
|
22
|
"get": {
|
53
|
"get": {
|
23
|
"tags": [
|
54
|
"tags": [
|
|
@@ -165,6 +196,187 @@ |
|
@@ -165,6 +196,187 @@ |
165
|
]
|
196
|
]
|
166
|
}
|
197
|
}
|
167
|
},
|
198
|
},
|
|
|
199
|
+ "/customer-values": {
|
|
|
200
|
+ "get": {
|
|
|
201
|
+ "tags": [
|
|
|
202
|
+ "customerValue"
|
|
|
203
|
+ ],
|
|
|
204
|
+ "summary": "返回客户价值列表",
|
|
|
205
|
+ "description": "返回客户价值列表",
|
|
|
206
|
+ "operationId": "customerValue#listCustomerValue",
|
|
|
207
|
+ "parameters": [
|
|
|
208
|
+ {
|
|
|
209
|
+ "name": "companyId",
|
|
|
210
|
+ "in": "query",
|
|
|
211
|
+ "description": "公司ID",
|
|
|
212
|
+ "required": false,
|
|
|
213
|
+ "type": "integer"
|
|
|
214
|
+ },
|
|
|
215
|
+ {
|
|
|
216
|
+ "name": "customerValueName",
|
|
|
217
|
+ "in": "query",
|
|
|
218
|
+ "description": "客户价值名称",
|
|
|
219
|
+ "required": false,
|
|
|
220
|
+ "type": "string"
|
|
|
221
|
+ },
|
|
|
222
|
+ {
|
|
|
223
|
+ "name": "customerValueNameMatch",
|
|
|
224
|
+ "in": "query",
|
|
|
225
|
+ "description": "客户价值名称匹配",
|
|
|
226
|
+ "required": false,
|
|
|
227
|
+ "type": "string"
|
|
|
228
|
+ },
|
|
|
229
|
+ {
|
|
|
230
|
+ "name": "offset",
|
|
|
231
|
+ "in": "query",
|
|
|
232
|
+ "description": "查询偏离量",
|
|
|
233
|
+ "required": false,
|
|
|
234
|
+ "type": "integer"
|
|
|
235
|
+ },
|
|
|
236
|
+ {
|
|
|
237
|
+ "name": "limit",
|
|
|
238
|
+ "in": "query",
|
|
|
239
|
+ "description": "查询限制",
|
|
|
240
|
+ "required": false,
|
|
|
241
|
+ "type": "integer"
|
|
|
242
|
+ }
|
|
|
243
|
+ ],
|
|
|
244
|
+ "responses": {
|
|
|
245
|
+ "200": {
|
|
|
246
|
+ "description": "OK response.",
|
|
|
247
|
+ "schema": {
|
|
|
248
|
+ "$ref": "#/definitions/CustomerValueListCustomerValueResponseBody"
|
|
|
249
|
+ }
|
|
|
250
|
+ }
|
|
|
251
|
+ },
|
|
|
252
|
+ "schemes": [
|
|
|
253
|
+ "http"
|
|
|
254
|
+ ]
|
|
|
255
|
+ },
|
|
|
256
|
+ "post": {
|
|
|
257
|
+ "tags": [
|
|
|
258
|
+ "customerValue"
|
|
|
259
|
+ ],
|
|
|
260
|
+ "summary": "创建客户价值",
|
|
|
261
|
+ "description": "创建客户价值",
|
|
|
262
|
+ "operationId": "customerValue#createCustomerValue",
|
|
|
263
|
+ "parameters": [
|
|
|
264
|
+ {
|
|
|
265
|
+ "name": "CreateCustomerValueRequestBody",
|
|
|
266
|
+ "in": "body",
|
|
|
267
|
+ "required": true,
|
|
|
268
|
+ "schema": {
|
|
|
269
|
+ "$ref": "#/definitions/CustomerValueCreateCustomerValueRequestBody"
|
|
|
270
|
+ }
|
|
|
271
|
+ }
|
|
|
272
|
+ ],
|
|
|
273
|
+ "responses": {
|
|
|
274
|
+ "200": {
|
|
|
275
|
+ "description": "OK response.",
|
|
|
276
|
+ "schema": {
|
|
|
277
|
+ "$ref": "#/definitions/CustomerValueCreateCustomerValueResponseBody"
|
|
|
278
|
+ }
|
|
|
279
|
+ }
|
|
|
280
|
+ },
|
|
|
281
|
+ "schemes": [
|
|
|
282
|
+ "http"
|
|
|
283
|
+ ]
|
|
|
284
|
+ }
|
|
|
285
|
+ },
|
|
|
286
|
+ "/customer-values/{customerValueId}": {
|
|
|
287
|
+ "get": {
|
|
|
288
|
+ "tags": [
|
|
|
289
|
+ "customerValue"
|
|
|
290
|
+ ],
|
|
|
291
|
+ "summary": "返回客户价值",
|
|
|
292
|
+ "description": "返回客户价值",
|
|
|
293
|
+ "operationId": "customerValue#getCustomerValue",
|
|
|
294
|
+ "parameters": [
|
|
|
295
|
+ {
|
|
|
296
|
+ "name": "customerValueId",
|
|
|
297
|
+ "in": "path",
|
|
|
298
|
+ "description": "客户价值ID",
|
|
|
299
|
+ "required": true,
|
|
|
300
|
+ "type": "integer"
|
|
|
301
|
+ }
|
|
|
302
|
+ ],
|
|
|
303
|
+ "responses": {
|
|
|
304
|
+ "200": {
|
|
|
305
|
+ "description": "OK response.",
|
|
|
306
|
+ "schema": {
|
|
|
307
|
+ "$ref": "#/definitions/CustomerValueGetCustomerValueResponseBody"
|
|
|
308
|
+ }
|
|
|
309
|
+ }
|
|
|
310
|
+ },
|
|
|
311
|
+ "schemes": [
|
|
|
312
|
+ "http"
|
|
|
313
|
+ ]
|
|
|
314
|
+ },
|
|
|
315
|
+ "put": {
|
|
|
316
|
+ "tags": [
|
|
|
317
|
+ "customerValue"
|
|
|
318
|
+ ],
|
|
|
319
|
+ "summary": "更新客户价值",
|
|
|
320
|
+ "description": "更新客户价值",
|
|
|
321
|
+ "operationId": "customerValue#updateCustomerValue",
|
|
|
322
|
+ "parameters": [
|
|
|
323
|
+ {
|
|
|
324
|
+ "name": "customerValueId",
|
|
|
325
|
+ "in": "path",
|
|
|
326
|
+ "description": "客户价值ID",
|
|
|
327
|
+ "required": true,
|
|
|
328
|
+ "type": "integer"
|
|
|
329
|
+ },
|
|
|
330
|
+ {
|
|
|
331
|
+ "name": "UpdateCustomerValueRequestBody",
|
|
|
332
|
+ "in": "body",
|
|
|
333
|
+ "required": true,
|
|
|
334
|
+ "schema": {
|
|
|
335
|
+ "$ref": "#/definitions/CustomerValueUpdateCustomerValueRequestBody"
|
|
|
336
|
+ }
|
|
|
337
|
+ }
|
|
|
338
|
+ ],
|
|
|
339
|
+ "responses": {
|
|
|
340
|
+ "200": {
|
|
|
341
|
+ "description": "OK response.",
|
|
|
342
|
+ "schema": {
|
|
|
343
|
+ "$ref": "#/definitions/CustomerValueUpdateCustomerValueResponseBody"
|
|
|
344
|
+ }
|
|
|
345
|
+ }
|
|
|
346
|
+ },
|
|
|
347
|
+ "schemes": [
|
|
|
348
|
+ "http"
|
|
|
349
|
+ ]
|
|
|
350
|
+ },
|
|
|
351
|
+ "delete": {
|
|
|
352
|
+ "tags": [
|
|
|
353
|
+ "customerValue"
|
|
|
354
|
+ ],
|
|
|
355
|
+ "summary": "移除客户价值",
|
|
|
356
|
+ "description": "移除客户价值",
|
|
|
357
|
+ "operationId": "customerValue#removeCustomerValue",
|
|
|
358
|
+ "parameters": [
|
|
|
359
|
+ {
|
|
|
360
|
+ "name": "customerValueId",
|
|
|
361
|
+ "in": "path",
|
|
|
362
|
+ "description": "客户价值ID",
|
|
|
363
|
+ "required": true,
|
|
|
364
|
+ "type": "integer"
|
|
|
365
|
+ }
|
|
|
366
|
+ ],
|
|
|
367
|
+ "responses": {
|
|
|
368
|
+ "200": {
|
|
|
369
|
+ "description": "OK response.",
|
|
|
370
|
+ "schema": {
|
|
|
371
|
+ "$ref": "#/definitions/CustomerValueRemoveCustomerValueResponseBody"
|
|
|
372
|
+ }
|
|
|
373
|
+ }
|
|
|
374
|
+ },
|
|
|
375
|
+ "schemes": [
|
|
|
376
|
+ "http"
|
|
|
377
|
+ ]
|
|
|
378
|
+ }
|
|
|
379
|
+ },
|
168
|
"/employees": {
|
380
|
"/employees": {
|
169
|
"get": {
|
381
|
"get": {
|
170
|
"tags": [
|
382
|
"tags": [
|
|
@@ -224,11 +436,366 @@ |
|
@@ -224,11 +436,366 @@ |
224
|
"operationId": "employee#createEmployee",
|
436
|
"operationId": "employee#createEmployee",
|
225
|
"parameters": [
|
437
|
"parameters": [
|
226
|
{
|
438
|
{
|
227
|
- "name": "CreateEmployeeRequestBody",
|
439
|
+ "name": "CreateEmployeeRequestBody",
|
|
|
440
|
+ "in": "body",
|
|
|
441
|
+ "required": true,
|
|
|
442
|
+ "schema": {
|
|
|
443
|
+ "$ref": "#/definitions/EmployeeCreateEmployeeRequestBody"
|
|
|
444
|
+ }
|
|
|
445
|
+ }
|
|
|
446
|
+ ],
|
|
|
447
|
+ "responses": {
|
|
|
448
|
+ "200": {
|
|
|
449
|
+ "description": "OK response.",
|
|
|
450
|
+ "schema": {
|
|
|
451
|
+ "$ref": "#/definitions/EmployeeCreateEmployeeResponseBody"
|
|
|
452
|
+ }
|
|
|
453
|
+ }
|
|
|
454
|
+ },
|
|
|
455
|
+ "schemes": [
|
|
|
456
|
+ "http"
|
|
|
457
|
+ ]
|
|
|
458
|
+ }
|
|
|
459
|
+ },
|
|
|
460
|
+ "/employees/{uid}": {
|
|
|
461
|
+ "get": {
|
|
|
462
|
+ "tags": [
|
|
|
463
|
+ "employee"
|
|
|
464
|
+ ],
|
|
|
465
|
+ "summary": "返回员工",
|
|
|
466
|
+ "description": "返回员工",
|
|
|
467
|
+ "operationId": "employee#getEmployee",
|
|
|
468
|
+ "parameters": [
|
|
|
469
|
+ {
|
|
|
470
|
+ "name": "uid",
|
|
|
471
|
+ "in": "path",
|
|
|
472
|
+ "description": "统一用户UID",
|
|
|
473
|
+ "required": true,
|
|
|
474
|
+ "type": "integer"
|
|
|
475
|
+ }
|
|
|
476
|
+ ],
|
|
|
477
|
+ "responses": {
|
|
|
478
|
+ "200": {
|
|
|
479
|
+ "description": "OK response.",
|
|
|
480
|
+ "schema": {
|
|
|
481
|
+ "$ref": "#/definitions/EmployeeGetEmployeeResponseBody"
|
|
|
482
|
+ }
|
|
|
483
|
+ }
|
|
|
484
|
+ },
|
|
|
485
|
+ "schemes": [
|
|
|
486
|
+ "http"
|
|
|
487
|
+ ]
|
|
|
488
|
+ },
|
|
|
489
|
+ "put": {
|
|
|
490
|
+ "tags": [
|
|
|
491
|
+ "employee"
|
|
|
492
|
+ ],
|
|
|
493
|
+ "summary": "更新员工",
|
|
|
494
|
+ "description": "更新员工",
|
|
|
495
|
+ "operationId": "employee#updateEmployee",
|
|
|
496
|
+ "parameters": [
|
|
|
497
|
+ {
|
|
|
498
|
+ "name": "uid",
|
|
|
499
|
+ "in": "path",
|
|
|
500
|
+ "description": "统一用户UID",
|
|
|
501
|
+ "required": true,
|
|
|
502
|
+ "type": "integer"
|
|
|
503
|
+ },
|
|
|
504
|
+ {
|
|
|
505
|
+ "name": "UpdateEmployeeRequestBody",
|
|
|
506
|
+ "in": "body",
|
|
|
507
|
+ "required": true,
|
|
|
508
|
+ "schema": {
|
|
|
509
|
+ "$ref": "#/definitions/EmployeeUpdateEmployeeRequestBody"
|
|
|
510
|
+ }
|
|
|
511
|
+ }
|
|
|
512
|
+ ],
|
|
|
513
|
+ "responses": {
|
|
|
514
|
+ "200": {
|
|
|
515
|
+ "description": "OK response.",
|
|
|
516
|
+ "schema": {
|
|
|
517
|
+ "$ref": "#/definitions/EmployeeUpdateEmployeeResponseBody"
|
|
|
518
|
+ }
|
|
|
519
|
+ }
|
|
|
520
|
+ },
|
|
|
521
|
+ "schemes": [
|
|
|
522
|
+ "http"
|
|
|
523
|
+ ]
|
|
|
524
|
+ },
|
|
|
525
|
+ "delete": {
|
|
|
526
|
+ "tags": [
|
|
|
527
|
+ "employee"
|
|
|
528
|
+ ],
|
|
|
529
|
+ "summary": "移除员工",
|
|
|
530
|
+ "description": "移除员工",
|
|
|
531
|
+ "operationId": "employee#removeEmployee",
|
|
|
532
|
+ "parameters": [
|
|
|
533
|
+ {
|
|
|
534
|
+ "name": "uid",
|
|
|
535
|
+ "in": "path",
|
|
|
536
|
+ "description": "统一用户UID",
|
|
|
537
|
+ "required": true,
|
|
|
538
|
+ "type": "integer"
|
|
|
539
|
+ }
|
|
|
540
|
+ ],
|
|
|
541
|
+ "responses": {
|
|
|
542
|
+ "200": {
|
|
|
543
|
+ "description": "OK response.",
|
|
|
544
|
+ "schema": {
|
|
|
545
|
+ "$ref": "#/definitions/EmployeeRemoveEmployeeResponseBody"
|
|
|
546
|
+ }
|
|
|
547
|
+ }
|
|
|
548
|
+ },
|
|
|
549
|
+ "schemes": [
|
|
|
550
|
+ "http"
|
|
|
551
|
+ ]
|
|
|
552
|
+ }
|
|
|
553
|
+ },
|
|
|
554
|
+ "/notifications": {
|
|
|
555
|
+ "get": {
|
|
|
556
|
+ "tags": [
|
|
|
557
|
+ "notification"
|
|
|
558
|
+ ],
|
|
|
559
|
+ "summary": "返回发送出的通知列表",
|
|
|
560
|
+ "description": "返回发送出的通知列表",
|
|
|
561
|
+ "operationId": "notification#listSentNotification",
|
|
|
562
|
+ "parameters": [
|
|
|
563
|
+ {
|
|
|
564
|
+ "name": "receiverId",
|
|
|
565
|
+ "in": "query",
|
|
|
566
|
+ "description": "通知接收者Uid",
|
|
|
567
|
+ "required": false,
|
|
|
568
|
+ "type": "integer"
|
|
|
569
|
+ },
|
|
|
570
|
+ {
|
|
|
571
|
+ "name": "notificationType",
|
|
|
572
|
+ "in": "query",
|
|
|
573
|
+ "description": "通知类型",
|
|
|
574
|
+ "required": false,
|
|
|
575
|
+ "type": "integer"
|
|
|
576
|
+ },
|
|
|
577
|
+ {
|
|
|
578
|
+ "name": "offset",
|
|
|
579
|
+ "in": "query",
|
|
|
580
|
+ "description": "查询偏离量",
|
|
|
581
|
+ "required": false,
|
|
|
582
|
+ "type": "integer"
|
|
|
583
|
+ },
|
|
|
584
|
+ {
|
|
|
585
|
+ "name": "limit",
|
|
|
586
|
+ "in": "query",
|
|
|
587
|
+ "description": "查询限制",
|
|
|
588
|
+ "required": false,
|
|
|
589
|
+ "type": "integer"
|
|
|
590
|
+ }
|
|
|
591
|
+ ],
|
|
|
592
|
+ "responses": {
|
|
|
593
|
+ "200": {
|
|
|
594
|
+ "description": "OK response.",
|
|
|
595
|
+ "schema": {
|
|
|
596
|
+ "$ref": "#/definitions/NotificationListSentNotificationResponseBody"
|
|
|
597
|
+ }
|
|
|
598
|
+ }
|
|
|
599
|
+ },
|
|
|
600
|
+ "schemes": [
|
|
|
601
|
+ "http"
|
|
|
602
|
+ ]
|
|
|
603
|
+ }
|
|
|
604
|
+ },
|
|
|
605
|
+ "/notifications/read": {
|
|
|
606
|
+ "post": {
|
|
|
607
|
+ "tags": [
|
|
|
608
|
+ "notification"
|
|
|
609
|
+ ],
|
|
|
610
|
+ "summary": "读取发送出的通知",
|
|
|
611
|
+ "description": "读取发送出的通知",
|
|
|
612
|
+ "operationId": "notification#readSentNotification",
|
|
|
613
|
+ "parameters": [
|
|
|
614
|
+ {
|
|
|
615
|
+ "name": "ReadSentNotificationRequestBody",
|
|
|
616
|
+ "in": "body",
|
|
|
617
|
+ "required": true,
|
|
|
618
|
+ "schema": {
|
|
|
619
|
+ "$ref": "#/definitions/NotificationReadSentNotificationRequestBody"
|
|
|
620
|
+ }
|
|
|
621
|
+ }
|
|
|
622
|
+ ],
|
|
|
623
|
+ "responses": {
|
|
|
624
|
+ "200": {
|
|
|
625
|
+ "description": "OK response.",
|
|
|
626
|
+ "schema": {
|
|
|
627
|
+ "$ref": "#/definitions/NotificationReadSentNotificationResponseBody"
|
|
|
628
|
+ }
|
|
|
629
|
+ }
|
|
|
630
|
+ },
|
|
|
631
|
+ "schemes": [
|
|
|
632
|
+ "http"
|
|
|
633
|
+ ]
|
|
|
634
|
+ }
|
|
|
635
|
+ },
|
|
|
636
|
+ "/notifications/read-all": {
|
|
|
637
|
+ "post": {
|
|
|
638
|
+ "tags": [
|
|
|
639
|
+ "notification"
|
|
|
640
|
+ ],
|
|
|
641
|
+ "summary": "读取全部为读取的发送出的通知",
|
|
|
642
|
+ "description": "读取全部为读取的发送出的通知",
|
|
|
643
|
+ "operationId": "notification#readAllUnReadSentNotification",
|
|
|
644
|
+ "parameters": [
|
|
|
645
|
+ {
|
|
|
646
|
+ "name": "ReadAllUnReadSentNotificationRequestBody",
|
|
|
647
|
+ "in": "body",
|
|
|
648
|
+ "required": true,
|
|
|
649
|
+ "schema": {
|
|
|
650
|
+ "$ref": "#/definitions/NotificationReadAllUnReadSentNotificationRequestBody"
|
|
|
651
|
+ }
|
|
|
652
|
+ }
|
|
|
653
|
+ ],
|
|
|
654
|
+ "responses": {
|
|
|
655
|
+ "200": {
|
|
|
656
|
+ "description": "OK response.",
|
|
|
657
|
+ "schema": {
|
|
|
658
|
+ "$ref": "#/definitions/NotificationReadAllUnReadSentNotificationResponseBody"
|
|
|
659
|
+ }
|
|
|
660
|
+ }
|
|
|
661
|
+ },
|
|
|
662
|
+ "schemes": [
|
|
|
663
|
+ "http"
|
|
|
664
|
+ ]
|
|
|
665
|
+ }
|
|
|
666
|
+ },
|
|
|
667
|
+ "/off-task-records/{offTaskRecordId}": {
|
|
|
668
|
+ "get": {
|
|
|
669
|
+ "tags": [
|
|
|
670
|
+ "offTaskRecord"
|
|
|
671
|
+ ],
|
|
|
672
|
+ "summary": "返回关闭任务记录",
|
|
|
673
|
+ "description": "返回关闭任务记录",
|
|
|
674
|
+ "operationId": "offTaskRecord#getOffTaskRecord",
|
|
|
675
|
+ "parameters": [
|
|
|
676
|
+ {
|
|
|
677
|
+ "name": "offTaskRecordId",
|
|
|
678
|
+ "in": "path",
|
|
|
679
|
+ "description": "关闭任务记录ID",
|
|
|
680
|
+ "required": true,
|
|
|
681
|
+ "type": "integer"
|
|
|
682
|
+ }
|
|
|
683
|
+ ],
|
|
|
684
|
+ "responses": {
|
|
|
685
|
+ "200": {
|
|
|
686
|
+ "description": "OK response.",
|
|
|
687
|
+ "schema": {
|
|
|
688
|
+ "$ref": "#/definitions/OffTaskRecordGetOffTaskRecordResponseBody"
|
|
|
689
|
+ }
|
|
|
690
|
+ }
|
|
|
691
|
+ },
|
|
|
692
|
+ "schemes": [
|
|
|
693
|
+ "http"
|
|
|
694
|
+ ]
|
|
|
695
|
+ }
|
|
|
696
|
+ },
|
|
|
697
|
+ "/off-task-records/search-off-task-record": {
|
|
|
698
|
+ "post": {
|
|
|
699
|
+ "tags": [
|
|
|
700
|
+ "offTaskRecord"
|
|
|
701
|
+ ],
|
|
|
702
|
+ "summary": "搜索关闭任务记录",
|
|
|
703
|
+ "description": "搜索关闭任务记录",
|
|
|
704
|
+ "operationId": "offTaskRecord#searchOffTaskRecord",
|
|
|
705
|
+ "parameters": [
|
|
|
706
|
+ {
|
|
|
707
|
+ "name": "SearchOffTaskRecordRequestBody",
|
|
|
708
|
+ "in": "body",
|
|
|
709
|
+ "required": true,
|
|
|
710
|
+ "schema": {
|
|
|
711
|
+ "$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordRequestBody"
|
|
|
712
|
+ }
|
|
|
713
|
+ }
|
|
|
714
|
+ ],
|
|
|
715
|
+ "responses": {
|
|
|
716
|
+ "200": {
|
|
|
717
|
+ "description": "OK response.",
|
|
|
718
|
+ "schema": {
|
|
|
719
|
+ "$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody"
|
|
|
720
|
+ }
|
|
|
721
|
+ }
|
|
|
722
|
+ },
|
|
|
723
|
+ "schemes": [
|
|
|
724
|
+ "http"
|
|
|
725
|
+ ]
|
|
|
726
|
+ }
|
|
|
727
|
+ },
|
|
|
728
|
+ "/project-belongs": {
|
|
|
729
|
+ "get": {
|
|
|
730
|
+ "tags": [
|
|
|
731
|
+ "projectBelong"
|
|
|
732
|
+ ],
|
|
|
733
|
+ "summary": "返回项目归属列表",
|
|
|
734
|
+ "description": "返回项目归属列表",
|
|
|
735
|
+ "operationId": "projectBelong#listProjectBelong",
|
|
|
736
|
+ "parameters": [
|
|
|
737
|
+ {
|
|
|
738
|
+ "name": "companyId",
|
|
|
739
|
+ "in": "query",
|
|
|
740
|
+ "description": "公司ID",
|
|
|
741
|
+ "required": false,
|
|
|
742
|
+ "type": "integer"
|
|
|
743
|
+ },
|
|
|
744
|
+ {
|
|
|
745
|
+ "name": "projectBelongName",
|
|
|
746
|
+ "in": "query",
|
|
|
747
|
+ "description": "项目归属名称",
|
|
|
748
|
+ "required": false,
|
|
|
749
|
+ "type": "string"
|
|
|
750
|
+ },
|
|
|
751
|
+ {
|
|
|
752
|
+ "name": "projectBelongNameMatch",
|
|
|
753
|
+ "in": "query",
|
|
|
754
|
+ "description": "项目归属名称匹配",
|
|
|
755
|
+ "required": false,
|
|
|
756
|
+ "type": "string"
|
|
|
757
|
+ },
|
|
|
758
|
+ {
|
|
|
759
|
+ "name": "offset",
|
|
|
760
|
+ "in": "query",
|
|
|
761
|
+ "description": "查询偏离量",
|
|
|
762
|
+ "required": false,
|
|
|
763
|
+ "type": "integer"
|
|
|
764
|
+ },
|
|
|
765
|
+ {
|
|
|
766
|
+ "name": "limit",
|
|
|
767
|
+ "in": "query",
|
|
|
768
|
+ "description": "查询限制",
|
|
|
769
|
+ "required": false,
|
|
|
770
|
+ "type": "integer"
|
|
|
771
|
+ }
|
|
|
772
|
+ ],
|
|
|
773
|
+ "responses": {
|
|
|
774
|
+ "200": {
|
|
|
775
|
+ "description": "OK response.",
|
|
|
776
|
+ "schema": {
|
|
|
777
|
+ "$ref": "#/definitions/ProjectBelongListProjectBelongResponseBody"
|
|
|
778
|
+ }
|
|
|
779
|
+ }
|
|
|
780
|
+ },
|
|
|
781
|
+ "schemes": [
|
|
|
782
|
+ "http"
|
|
|
783
|
+ ]
|
|
|
784
|
+ },
|
|
|
785
|
+ "post": {
|
|
|
786
|
+ "tags": [
|
|
|
787
|
+ "projectBelong"
|
|
|
788
|
+ ],
|
|
|
789
|
+ "summary": "创建项目归属",
|
|
|
790
|
+ "description": "创建项目归属",
|
|
|
791
|
+ "operationId": "projectBelong#createProjectBelong",
|
|
|
792
|
+ "parameters": [
|
|
|
793
|
+ {
|
|
|
794
|
+ "name": "CreateProjectBelongRequestBody",
|
228
|
"in": "body",
|
795
|
"in": "body",
|
229
|
"required": true,
|
796
|
"required": true,
|
230
|
"schema": {
|
797
|
"schema": {
|
231
|
- "$ref": "#/definitions/EmployeeCreateEmployeeRequestBody"
|
798
|
+ "$ref": "#/definitions/ProjectBelongCreateProjectBelongRequestBody"
|
232
|
}
|
799
|
}
|
233
|
}
|
800
|
}
|
234
|
],
|
801
|
],
|
|
@@ -236,7 +803,7 @@ |
|
@@ -236,7 +803,7 @@ |
236
|
"200": {
|
803
|
"200": {
|
237
|
"description": "OK response.",
|
804
|
"description": "OK response.",
|
238
|
"schema": {
|
805
|
"schema": {
|
239
|
- "$ref": "#/definitions/EmployeeCreateEmployeeResponseBody"
|
806
|
+ "$ref": "#/definitions/ProjectBelongCreateProjectBelongResponseBody"
|
240
|
}
|
807
|
}
|
241
|
}
|
808
|
}
|
242
|
},
|
809
|
},
|
|
@@ -245,19 +812,19 @@ |
|
@@ -245,19 +812,19 @@ |
245
|
]
|
812
|
]
|
246
|
}
|
813
|
}
|
247
|
},
|
814
|
},
|
248
|
- "/employees/{uid}": {
|
815
|
+ "/project-belongs/{projectBelongId}": {
|
249
|
"get": {
|
816
|
"get": {
|
250
|
"tags": [
|
817
|
"tags": [
|
251
|
- "employee"
|
818
|
+ "projectBelong"
|
252
|
],
|
819
|
],
|
253
|
- "summary": "返回员工",
|
|
|
254
|
- "description": "返回员工",
|
|
|
255
|
- "operationId": "employee#getEmployee",
|
820
|
+ "summary": "返回项目归属",
|
|
|
821
|
+ "description": "返回项目归属",
|
|
|
822
|
+ "operationId": "projectBelong#getProjectBelong",
|
256
|
"parameters": [
|
823
|
"parameters": [
|
257
|
{
|
824
|
{
|
258
|
- "name": "uid",
|
825
|
+ "name": "projectBelongId",
|
259
|
"in": "path",
|
826
|
"in": "path",
|
260
|
- "description": "统一用户UID",
|
827
|
+ "description": "项目归属ID",
|
261
|
"required": true,
|
828
|
"required": true,
|
262
|
"type": "integer"
|
829
|
"type": "integer"
|
263
|
}
|
830
|
}
|
|
@@ -266,7 +833,7 @@ |
|
@@ -266,7 +833,7 @@ |
266
|
"200": {
|
833
|
"200": {
|
267
|
"description": "OK response.",
|
834
|
"description": "OK response.",
|
268
|
"schema": {
|
835
|
"schema": {
|
269
|
- "$ref": "#/definitions/EmployeeGetEmployeeResponseBody"
|
836
|
+ "$ref": "#/definitions/ProjectBelongGetProjectBelongResponseBody"
|
270
|
}
|
837
|
}
|
271
|
}
|
838
|
}
|
272
|
},
|
839
|
},
|
|
@@ -276,25 +843,25 @@ |
|
@@ -276,25 +843,25 @@ |
276
|
},
|
843
|
},
|
277
|
"put": {
|
844
|
"put": {
|
278
|
"tags": [
|
845
|
"tags": [
|
279
|
- "employee"
|
846
|
+ "projectBelong"
|
280
|
],
|
847
|
],
|
281
|
- "summary": "更新员工",
|
|
|
282
|
- "description": "更新员工",
|
|
|
283
|
- "operationId": "employee#updateEmployee",
|
848
|
+ "summary": "更新项目归属",
|
|
|
849
|
+ "description": "更新项目归属",
|
|
|
850
|
+ "operationId": "projectBelong#updateProjectBelong",
|
284
|
"parameters": [
|
851
|
"parameters": [
|
285
|
{
|
852
|
{
|
286
|
- "name": "uid",
|
853
|
+ "name": "projectBelongId",
|
287
|
"in": "path",
|
854
|
"in": "path",
|
288
|
- "description": "统一用户UID",
|
855
|
+ "description": "项目归属ID",
|
289
|
"required": true,
|
856
|
"required": true,
|
290
|
"type": "integer"
|
857
|
"type": "integer"
|
291
|
},
|
858
|
},
|
292
|
{
|
859
|
{
|
293
|
- "name": "UpdateEmployeeRequestBody",
|
860
|
+ "name": "UpdateProjectBelongRequestBody",
|
294
|
"in": "body",
|
861
|
"in": "body",
|
295
|
"required": true,
|
862
|
"required": true,
|
296
|
"schema": {
|
863
|
"schema": {
|
297
|
- "$ref": "#/definitions/EmployeeUpdateEmployeeRequestBody"
|
864
|
+ "$ref": "#/definitions/ProjectBelongUpdateProjectBelongRequestBody"
|
298
|
}
|
865
|
}
|
299
|
}
|
866
|
}
|
300
|
],
|
867
|
],
|
|
@@ -302,7 +869,7 @@ |
|
@@ -302,7 +869,7 @@ |
302
|
"200": {
|
869
|
"200": {
|
303
|
"description": "OK response.",
|
870
|
"description": "OK response.",
|
304
|
"schema": {
|
871
|
"schema": {
|
305
|
- "$ref": "#/definitions/EmployeeUpdateEmployeeResponseBody"
|
872
|
+ "$ref": "#/definitions/ProjectBelongUpdateProjectBelongResponseBody"
|
306
|
}
|
873
|
}
|
307
|
}
|
874
|
}
|
308
|
},
|
875
|
},
|
|
@@ -312,16 +879,16 @@ |
|
@@ -312,16 +879,16 @@ |
312
|
},
|
879
|
},
|
313
|
"delete": {
|
880
|
"delete": {
|
314
|
"tags": [
|
881
|
"tags": [
|
315
|
- "employee"
|
882
|
+ "projectBelong"
|
316
|
],
|
883
|
],
|
317
|
- "summary": "移除员工",
|
|
|
318
|
- "description": "移除员工",
|
|
|
319
|
- "operationId": "employee#removeEmployee",
|
884
|
+ "summary": "移除项目归属",
|
|
|
885
|
+ "description": "移除项目归属",
|
|
|
886
|
+ "operationId": "projectBelong#removeProjectBelong",
|
320
|
"parameters": [
|
887
|
"parameters": [
|
321
|
{
|
888
|
{
|
322
|
- "name": "uid",
|
889
|
+ "name": "projectBelongId",
|
323
|
"in": "path",
|
890
|
"in": "path",
|
324
|
- "description": "统一用户UID",
|
891
|
+ "description": "项目归属ID",
|
325
|
"required": true,
|
892
|
"required": true,
|
326
|
"type": "integer"
|
893
|
"type": "integer"
|
327
|
}
|
894
|
}
|
|
@@ -330,7 +897,7 @@ |
|
@@ -330,7 +897,7 @@ |
330
|
"200": {
|
897
|
"200": {
|
331
|
"description": "OK response.",
|
898
|
"description": "OK response.",
|
332
|
"schema": {
|
899
|
"schema": {
|
333
|
- "$ref": "#/definitions/EmployeeRemoveEmployeeResponseBody"
|
900
|
+ "$ref": "#/definitions/ProjectBelongRemoveProjectBelongResponseBody"
|
334
|
}
|
901
|
}
|
335
|
}
|
902
|
}
|
336
|
},
|
903
|
},
|
|
@@ -339,17 +906,17 @@ |
|
@@ -339,17 +906,17 @@ |
339
|
]
|
906
|
]
|
340
|
}
|
907
|
}
|
341
|
},
|
908
|
},
|
342
|
- "/off-task-records/{offTaskRecordId}": {
|
909
|
+ "/reject-task-records/{rejectTaskRecordId}": {
|
343
|
"get": {
|
910
|
"get": {
|
344
|
"tags": [
|
911
|
"tags": [
|
345
|
- "offTaskRecord"
|
912
|
+ "rejectTaskRecord"
|
346
|
],
|
913
|
],
|
347
|
"summary": "返回关闭任务记录",
|
914
|
"summary": "返回关闭任务记录",
|
348
|
"description": "返回关闭任务记录",
|
915
|
"description": "返回关闭任务记录",
|
349
|
- "operationId": "offTaskRecord#getOffTaskRecord",
|
916
|
+ "operationId": "rejectTaskRecord#getRejectTaskRecord",
|
350
|
"parameters": [
|
917
|
"parameters": [
|
351
|
{
|
918
|
{
|
352
|
- "name": "offTaskRecordId",
|
919
|
+ "name": "rejectTaskRecordId",
|
353
|
"in": "path",
|
920
|
"in": "path",
|
354
|
"description": "关闭任务记录ID",
|
921
|
"description": "关闭任务记录ID",
|
355
|
"required": true,
|
922
|
"required": true,
|
|
@@ -360,7 +927,7 @@ |
|
@@ -360,7 +927,7 @@ |
360
|
"200": {
|
927
|
"200": {
|
361
|
"description": "OK response.",
|
928
|
"description": "OK response.",
|
362
|
"schema": {
|
929
|
"schema": {
|
363
|
- "$ref": "#/definitions/OffTaskRecordGetOffTaskRecordResponseBody"
|
930
|
+ "$ref": "#/definitions/RejectTaskRecordGetRejectTaskRecordResponseBody"
|
364
|
}
|
931
|
}
|
365
|
}
|
932
|
}
|
366
|
},
|
933
|
},
|
|
@@ -369,21 +936,21 @@ |
|
@@ -369,21 +936,21 @@ |
369
|
]
|
936
|
]
|
370
|
}
|
937
|
}
|
371
|
},
|
938
|
},
|
372
|
- "/off-task-records/search-off-task-record": {
|
939
|
+ "/reject-task-records/search-reject-task-record": {
|
373
|
"post": {
|
940
|
"post": {
|
374
|
"tags": [
|
941
|
"tags": [
|
375
|
- "offTaskRecord"
|
942
|
+ "rejectTaskRecord"
|
376
|
],
|
943
|
],
|
377
|
- "summary": "搜索关闭任务记录",
|
|
|
378
|
- "description": "搜索关闭任务记录",
|
|
|
379
|
- "operationId": "offTaskRecord#searchOffTaskRecord",
|
944
|
+ "summary": "搜索驳回任务记录",
|
|
|
945
|
+ "description": "搜索驳回任务记录",
|
|
|
946
|
+ "operationId": "rejectTaskRecord#searchRejectTaskRecord",
|
380
|
"parameters": [
|
947
|
"parameters": [
|
381
|
{
|
948
|
{
|
382
|
- "name": "SearchOffTaskRecordRequestBody",
|
949
|
+ "name": "SearchRejectTaskRecordRequestBody",
|
383
|
"in": "body",
|
950
|
"in": "body",
|
384
|
"required": true,
|
951
|
"required": true,
|
385
|
"schema": {
|
952
|
"schema": {
|
386
|
- "$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordRequestBody"
|
953
|
+ "$ref": "#/definitions/RejectTaskRecordSearchRejectTaskRecordRequestBody"
|
387
|
}
|
954
|
}
|
388
|
}
|
955
|
}
|
389
|
],
|
956
|
],
|
|
@@ -391,7 +958,7 @@ |
|
@@ -391,7 +958,7 @@ |
391
|
"200": {
|
958
|
"200": {
|
392
|
"description": "OK response.",
|
959
|
"description": "OK response.",
|
393
|
"schema": {
|
960
|
"schema": {
|
394
|
- "$ref": "#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody"
|
961
|
+ "$ref": "#/definitions/RejectTaskRecordSearchRejectTaskRecordResponseBody"
|
395
|
}
|
962
|
}
|
396
|
}
|
963
|
}
|
397
|
},
|
964
|
},
|
|
@@ -616,6 +1183,187 @@ |
|
@@ -616,6 +1183,187 @@ |
616
|
]
|
1183
|
]
|
617
|
}
|
1184
|
}
|
618
|
},
|
1185
|
},
|
|
|
1186
|
+ "/task-natures": {
|
|
|
1187
|
+ "get": {
|
|
|
1188
|
+ "tags": [
|
|
|
1189
|
+ "taskNature"
|
|
|
1190
|
+ ],
|
|
|
1191
|
+ "summary": "返回任务性质列表",
|
|
|
1192
|
+ "description": "返回任务性质列表",
|
|
|
1193
|
+ "operationId": "taskNature#listTaskNature",
|
|
|
1194
|
+ "parameters": [
|
|
|
1195
|
+ {
|
|
|
1196
|
+ "name": "companyId",
|
|
|
1197
|
+ "in": "query",
|
|
|
1198
|
+ "description": "公司ID",
|
|
|
1199
|
+ "required": false,
|
|
|
1200
|
+ "type": "integer"
|
|
|
1201
|
+ },
|
|
|
1202
|
+ {
|
|
|
1203
|
+ "name": "taskNatureName",
|
|
|
1204
|
+ "in": "query",
|
|
|
1205
|
+ "description": "任务性质名称",
|
|
|
1206
|
+ "required": false,
|
|
|
1207
|
+ "type": "string"
|
|
|
1208
|
+ },
|
|
|
1209
|
+ {
|
|
|
1210
|
+ "name": "taskNatureNameMatch",
|
|
|
1211
|
+ "in": "query",
|
|
|
1212
|
+ "description": "任务性质名称匹配",
|
|
|
1213
|
+ "required": false,
|
|
|
1214
|
+ "type": "string"
|
|
|
1215
|
+ },
|
|
|
1216
|
+ {
|
|
|
1217
|
+ "name": "offset",
|
|
|
1218
|
+ "in": "query",
|
|
|
1219
|
+ "description": "查询偏离量",
|
|
|
1220
|
+ "required": false,
|
|
|
1221
|
+ "type": "integer"
|
|
|
1222
|
+ },
|
|
|
1223
|
+ {
|
|
|
1224
|
+ "name": "limit",
|
|
|
1225
|
+ "in": "query",
|
|
|
1226
|
+ "description": "查询限制",
|
|
|
1227
|
+ "required": false,
|
|
|
1228
|
+ "type": "integer"
|
|
|
1229
|
+ }
|
|
|
1230
|
+ ],
|
|
|
1231
|
+ "responses": {
|
|
|
1232
|
+ "200": {
|
|
|
1233
|
+ "description": "OK response.",
|
|
|
1234
|
+ "schema": {
|
|
|
1235
|
+ "$ref": "#/definitions/TaskNatureListTaskNatureResponseBody"
|
|
|
1236
|
+ }
|
|
|
1237
|
+ }
|
|
|
1238
|
+ },
|
|
|
1239
|
+ "schemes": [
|
|
|
1240
|
+ "http"
|
|
|
1241
|
+ ]
|
|
|
1242
|
+ },
|
|
|
1243
|
+ "post": {
|
|
|
1244
|
+ "tags": [
|
|
|
1245
|
+ "taskNature"
|
|
|
1246
|
+ ],
|
|
|
1247
|
+ "summary": "创建任务性质",
|
|
|
1248
|
+ "description": "创建任务性质",
|
|
|
1249
|
+ "operationId": "taskNature#createTaskNature",
|
|
|
1250
|
+ "parameters": [
|
|
|
1251
|
+ {
|
|
|
1252
|
+ "name": "CreateTaskNatureRequestBody",
|
|
|
1253
|
+ "in": "body",
|
|
|
1254
|
+ "required": true,
|
|
|
1255
|
+ "schema": {
|
|
|
1256
|
+ "$ref": "#/definitions/TaskNatureCreateTaskNatureRequestBody"
|
|
|
1257
|
+ }
|
|
|
1258
|
+ }
|
|
|
1259
|
+ ],
|
|
|
1260
|
+ "responses": {
|
|
|
1261
|
+ "200": {
|
|
|
1262
|
+ "description": "OK response.",
|
|
|
1263
|
+ "schema": {
|
|
|
1264
|
+ "$ref": "#/definitions/TaskNatureCreateTaskNatureResponseBody"
|
|
|
1265
|
+ }
|
|
|
1266
|
+ }
|
|
|
1267
|
+ },
|
|
|
1268
|
+ "schemes": [
|
|
|
1269
|
+ "http"
|
|
|
1270
|
+ ]
|
|
|
1271
|
+ }
|
|
|
1272
|
+ },
|
|
|
1273
|
+ "/task-natures/{taskNatureId}": {
|
|
|
1274
|
+ "get": {
|
|
|
1275
|
+ "tags": [
|
|
|
1276
|
+ "taskNature"
|
|
|
1277
|
+ ],
|
|
|
1278
|
+ "summary": "返回任务性质",
|
|
|
1279
|
+ "description": "返回任务性质",
|
|
|
1280
|
+ "operationId": "taskNature#getTaskNature",
|
|
|
1281
|
+ "parameters": [
|
|
|
1282
|
+ {
|
|
|
1283
|
+ "name": "taskNatureId",
|
|
|
1284
|
+ "in": "path",
|
|
|
1285
|
+ "description": "任务性质ID",
|
|
|
1286
|
+ "required": true,
|
|
|
1287
|
+ "type": "integer"
|
|
|
1288
|
+ }
|
|
|
1289
|
+ ],
|
|
|
1290
|
+ "responses": {
|
|
|
1291
|
+ "200": {
|
|
|
1292
|
+ "description": "OK response.",
|
|
|
1293
|
+ "schema": {
|
|
|
1294
|
+ "$ref": "#/definitions/TaskNatureGetTaskNatureResponseBody"
|
|
|
1295
|
+ }
|
|
|
1296
|
+ }
|
|
|
1297
|
+ },
|
|
|
1298
|
+ "schemes": [
|
|
|
1299
|
+ "http"
|
|
|
1300
|
+ ]
|
|
|
1301
|
+ },
|
|
|
1302
|
+ "put": {
|
|
|
1303
|
+ "tags": [
|
|
|
1304
|
+ "taskNature"
|
|
|
1305
|
+ ],
|
|
|
1306
|
+ "summary": "更新任务性质",
|
|
|
1307
|
+ "description": "更新任务性质",
|
|
|
1308
|
+ "operationId": "taskNature#updateTaskNature",
|
|
|
1309
|
+ "parameters": [
|
|
|
1310
|
+ {
|
|
|
1311
|
+ "name": "taskNatureId",
|
|
|
1312
|
+ "in": "path",
|
|
|
1313
|
+ "description": "任务性质ID",
|
|
|
1314
|
+ "required": true,
|
|
|
1315
|
+ "type": "integer"
|
|
|
1316
|
+ },
|
|
|
1317
|
+ {
|
|
|
1318
|
+ "name": "UpdateTaskNatureRequestBody",
|
|
|
1319
|
+ "in": "body",
|
|
|
1320
|
+ "required": true,
|
|
|
1321
|
+ "schema": {
|
|
|
1322
|
+ "$ref": "#/definitions/TaskNatureUpdateTaskNatureRequestBody"
|
|
|
1323
|
+ }
|
|
|
1324
|
+ }
|
|
|
1325
|
+ ],
|
|
|
1326
|
+ "responses": {
|
|
|
1327
|
+ "200": {
|
|
|
1328
|
+ "description": "OK response.",
|
|
|
1329
|
+ "schema": {
|
|
|
1330
|
+ "$ref": "#/definitions/TaskNatureUpdateTaskNatureResponseBody"
|
|
|
1331
|
+ }
|
|
|
1332
|
+ }
|
|
|
1333
|
+ },
|
|
|
1334
|
+ "schemes": [
|
|
|
1335
|
+ "http"
|
|
|
1336
|
+ ]
|
|
|
1337
|
+ },
|
|
|
1338
|
+ "delete": {
|
|
|
1339
|
+ "tags": [
|
|
|
1340
|
+ "taskNature"
|
|
|
1341
|
+ ],
|
|
|
1342
|
+ "summary": "移除任务性质",
|
|
|
1343
|
+ "description": "移除任务性质",
|
|
|
1344
|
+ "operationId": "taskNature#removeTaskNature",
|
|
|
1345
|
+ "parameters": [
|
|
|
1346
|
+ {
|
|
|
1347
|
+ "name": "taskNatureId",
|
|
|
1348
|
+ "in": "path",
|
|
|
1349
|
+ "description": "任务性质ID",
|
|
|
1350
|
+ "required": true,
|
|
|
1351
|
+ "type": "integer"
|
|
|
1352
|
+ }
|
|
|
1353
|
+ ],
|
|
|
1354
|
+ "responses": {
|
|
|
1355
|
+ "200": {
|
|
|
1356
|
+ "description": "OK response.",
|
|
|
1357
|
+ "schema": {
|
|
|
1358
|
+ "$ref": "#/definitions/TaskNatureRemoveTaskNatureResponseBody"
|
|
|
1359
|
+ }
|
|
|
1360
|
+ }
|
|
|
1361
|
+ },
|
|
|
1362
|
+ "schemes": [
|
|
|
1363
|
+ "http"
|
|
|
1364
|
+ ]
|
|
|
1365
|
+ }
|
|
|
1366
|
+ },
|
619
|
"/tasks": {
|
1367
|
"/tasks": {
|
620
|
"get": {
|
1368
|
"get": {
|
621
|
"tags": [
|
1369
|
"tags": [
|
|
@@ -1254,23 +2002,106 @@ |
|
@@ -1254,23 +2002,106 @@ |
1254
|
"title": "Mediatype identifier: ConfigListTaskStatusResponseBody",
|
2002
|
"title": "Mediatype identifier: ConfigListTaskStatusResponseBody",
|
1255
|
"type": "object",
|
2003
|
"type": "object",
|
1256
|
"properties": {
|
2004
|
"properties": {
|
1257
|
- "taskStatuses": {
|
|
|
1258
|
- "type": "array",
|
|
|
1259
|
- "items": {
|
|
|
1260
|
- "$ref": "#/definitions/configResponseBody"
|
|
|
1261
|
- }
|
2005
|
+ "taskStatuses": {
|
|
|
2006
|
+ "type": "array",
|
|
|
2007
|
+ "items": {
|
|
|
2008
|
+ "$ref": "#/definitions/configResponseBody"
|
|
|
2009
|
+ }
|
|
|
2010
|
+ }
|
|
|
2011
|
+ }
|
|
|
2012
|
+ },
|
|
|
2013
|
+ "ConfigListTaskTypeResponseBody": {
|
|
|
2014
|
+ "title": "Mediatype identifier: ConfigListTaskTypeResponseBody",
|
|
|
2015
|
+ "type": "object",
|
|
|
2016
|
+ "properties": {
|
|
|
2017
|
+ "taskTypes": {
|
|
|
2018
|
+ "type": "array",
|
|
|
2019
|
+ "items": {
|
|
|
2020
|
+ "$ref": "#/definitions/configResponseBody"
|
|
|
2021
|
+ }
|
|
|
2022
|
+ }
|
|
|
2023
|
+ }
|
|
|
2024
|
+ },
|
|
|
2025
|
+ "CustomerValueCreateCustomerValueRequestBody": {
|
|
|
2026
|
+ "title": "CustomerValueCreateCustomerValueRequestBody",
|
|
|
2027
|
+ "type": "object",
|
|
|
2028
|
+ "properties": {
|
|
|
2029
|
+ "companyId": {
|
|
|
2030
|
+ "type": "integer",
|
|
|
2031
|
+ "description": "公司ID",
|
|
|
2032
|
+ "required": [
|
|
|
2033
|
+ "companyId"
|
|
|
2034
|
+ ]
|
|
|
2035
|
+ },
|
|
|
2036
|
+ "customerValueName": {
|
|
|
2037
|
+ "type": "string",
|
|
|
2038
|
+ "description": "客户价值名称",
|
|
|
2039
|
+ "required": [
|
|
|
2040
|
+ "customerValueName"
|
|
|
2041
|
+ ]
|
|
|
2042
|
+ }
|
|
|
2043
|
+ }
|
|
|
2044
|
+ },
|
|
|
2045
|
+ "CustomerValueCreateCustomerValueResponseBody": {
|
|
|
2046
|
+ "title": "Mediatype identifier: CustomerValueCreateCustomerValueResponseBody",
|
|
|
2047
|
+ "type": "object",
|
|
|
2048
|
+ "properties": {
|
|
|
2049
|
+ "customerValue": {
|
|
|
2050
|
+ "$ref": "#/definitions/customerValueResponseBody"
|
|
|
2051
|
+ }
|
|
|
2052
|
+ }
|
|
|
2053
|
+ },
|
|
|
2054
|
+ "CustomerValueGetCustomerValueResponseBody": {
|
|
|
2055
|
+ "title": "Mediatype identifier: CustomerValueGetCustomerValueResponseBody",
|
|
|
2056
|
+ "type": "object",
|
|
|
2057
|
+ "properties": {
|
|
|
2058
|
+ "customerValue": {
|
|
|
2059
|
+ "$ref": "#/definitions/customerValueResponseBody"
|
|
|
2060
|
+ }
|
|
|
2061
|
+ }
|
|
|
2062
|
+ },
|
|
|
2063
|
+ "CustomerValueListCustomerValueResponseBody": {
|
|
|
2064
|
+ "title": "Mediatype identifier: CustomerValueListCustomerValueResponseBody",
|
|
|
2065
|
+ "type": "object",
|
|
|
2066
|
+ "properties": {
|
|
|
2067
|
+ "count": {
|
|
|
2068
|
+ "type": "integer",
|
|
|
2069
|
+ "description": "结果总数",
|
|
|
2070
|
+ "format": "int64"
|
|
|
2071
|
+ },
|
|
|
2072
|
+ "customerValues": {
|
|
|
2073
|
+ "type": "array",
|
|
|
2074
|
+ "items": {
|
|
|
2075
|
+ "$ref": "#/definitions/customerValueResponseBody"
|
|
|
2076
|
+ }
|
|
|
2077
|
+ }
|
|
|
2078
|
+ }
|
|
|
2079
|
+ },
|
|
|
2080
|
+ "CustomerValueRemoveCustomerValueResponseBody": {
|
|
|
2081
|
+ "title": "Mediatype identifier: CustomerValueRemoveCustomerValueResponseBody",
|
|
|
2082
|
+ "type": "object",
|
|
|
2083
|
+ "properties": {
|
|
|
2084
|
+ "customerValue": {
|
|
|
2085
|
+ "$ref": "#/definitions/customerValueResponseBody"
|
|
|
2086
|
+ }
|
|
|
2087
|
+ }
|
|
|
2088
|
+ },
|
|
|
2089
|
+ "CustomerValueUpdateCustomerValueRequestBody": {
|
|
|
2090
|
+ "title": "CustomerValueUpdateCustomerValueRequestBody",
|
|
|
2091
|
+ "type": "object",
|
|
|
2092
|
+ "properties": {
|
|
|
2093
|
+ "customerValueName": {
|
|
|
2094
|
+ "type": "string",
|
|
|
2095
|
+ "description": "客户价值名称"
|
1262
|
}
|
2096
|
}
|
1263
|
}
|
2097
|
}
|
1264
|
},
|
2098
|
},
|
1265
|
- "ConfigListTaskTypeResponseBody": {
|
|
|
1266
|
- "title": "Mediatype identifier: ConfigListTaskTypeResponseBody",
|
2099
|
+ "CustomerValueUpdateCustomerValueResponseBody": {
|
|
|
2100
|
+ "title": "Mediatype identifier: CustomerValueUpdateCustomerValueResponseBody",
|
1267
|
"type": "object",
|
2101
|
"type": "object",
|
1268
|
"properties": {
|
2102
|
"properties": {
|
1269
|
- "taskTypes": {
|
|
|
1270
|
- "type": "array",
|
|
|
1271
|
- "items": {
|
|
|
1272
|
- "$ref": "#/definitions/configResponseBody"
|
|
|
1273
|
- }
|
2103
|
+ "customerValue": {
|
|
|
2104
|
+ "$ref": "#/definitions/customerValueResponseBody"
|
1274
|
}
|
2105
|
}
|
1275
|
}
|
2106
|
}
|
1276
|
},
|
2107
|
},
|
|
@@ -1378,6 +2209,69 @@ |
|
@@ -1378,6 +2209,69 @@ |
1378
|
}
|
2209
|
}
|
1379
|
}
|
2210
|
}
|
1380
|
},
|
2211
|
},
|
|
|
2212
|
+ "NotificationListSentNotificationResponseBody": {
|
|
|
2213
|
+ "title": "Mediatype identifier: NotificationListSentNotificationResponseBody",
|
|
|
2214
|
+ "type": "object",
|
|
|
2215
|
+ "properties": {
|
|
|
2216
|
+ "count": {
|
|
|
2217
|
+ "type": "integer",
|
|
|
2218
|
+ "description": "结果总数",
|
|
|
2219
|
+ "format": "int64"
|
|
|
2220
|
+ },
|
|
|
2221
|
+ "sentNotifications": {
|
|
|
2222
|
+ "type": "array",
|
|
|
2223
|
+ "items": {
|
|
|
2224
|
+ "$ref": "#/definitions/sentNotificationResponseBody"
|
|
|
2225
|
+ }
|
|
|
2226
|
+ }
|
|
|
2227
|
+ }
|
|
|
2228
|
+ },
|
|
|
2229
|
+ "NotificationReadAllUnReadSentNotificationRequestBody": {
|
|
|
2230
|
+ "title": "NotificationReadAllUnReadSentNotificationRequestBody",
|
|
|
2231
|
+ "type": "object",
|
|
|
2232
|
+ "properties": {
|
|
|
2233
|
+ "receiverId": {
|
|
|
2234
|
+ "type": "integer",
|
|
|
2235
|
+ "description": "通知接收者Uid",
|
|
|
2236
|
+ "required": [
|
|
|
2237
|
+ "receiverId"
|
|
|
2238
|
+ ]
|
|
|
2239
|
+ }
|
|
|
2240
|
+ }
|
|
|
2241
|
+ },
|
|
|
2242
|
+ "NotificationReadAllUnReadSentNotificationResponseBody": {
|
|
|
2243
|
+ "title": "Mediatype identifier: NotificationReadAllUnReadSentNotificationResponseBody",
|
|
|
2244
|
+ "type": "object",
|
|
|
2245
|
+ "properties": {
|
|
|
2246
|
+ "readCount": {
|
|
|
2247
|
+ "type": "integer",
|
|
|
2248
|
+ "description": "读取消息数",
|
|
|
2249
|
+ "format": "int64"
|
|
|
2250
|
+ }
|
|
|
2251
|
+ }
|
|
|
2252
|
+ },
|
|
|
2253
|
+ "NotificationReadSentNotificationRequestBody": {
|
|
|
2254
|
+ "title": "NotificationReadSentNotificationRequestBody",
|
|
|
2255
|
+ "type": "object",
|
|
|
2256
|
+ "properties": {
|
|
|
2257
|
+ "sentNotificationId": {
|
|
|
2258
|
+ "type": "integer",
|
|
|
2259
|
+ "description": "发送出的通知ID",
|
|
|
2260
|
+ "required": [
|
|
|
2261
|
+ "sentNotificationId"
|
|
|
2262
|
+ ]
|
|
|
2263
|
+ }
|
|
|
2264
|
+ }
|
|
|
2265
|
+ },
|
|
|
2266
|
+ "NotificationReadSentNotificationResponseBody": {
|
|
|
2267
|
+ "title": "Mediatype identifier: NotificationReadSentNotificationResponseBody",
|
|
|
2268
|
+ "type": "object",
|
|
|
2269
|
+ "properties": {
|
|
|
2270
|
+ "sentNotification": {
|
|
|
2271
|
+ "$ref": "#/definitions/sentNotificationResponseBody"
|
|
|
2272
|
+ }
|
|
|
2273
|
+ }
|
|
|
2274
|
+ },
|
1381
|
"OffTaskRecordGetOffTaskRecordResponseBody": {
|
2275
|
"OffTaskRecordGetOffTaskRecordResponseBody": {
|
1382
|
"title": "Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody",
|
2276
|
"title": "Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody",
|
1383
|
"type": "object",
|
2277
|
"type": "object",
|
|
@@ -1457,6 +2351,170 @@ |
|
@@ -1457,6 +2351,170 @@ |
1457
|
}
|
2351
|
}
|
1458
|
}
|
2352
|
}
|
1459
|
},
|
2353
|
},
|
|
|
2354
|
+ "ProjectBelongCreateProjectBelongRequestBody": {
|
|
|
2355
|
+ "title": "ProjectBelongCreateProjectBelongRequestBody",
|
|
|
2356
|
+ "type": "object",
|
|
|
2357
|
+ "properties": {
|
|
|
2358
|
+ "companyId": {
|
|
|
2359
|
+ "type": "integer",
|
|
|
2360
|
+ "description": "公司ID",
|
|
|
2361
|
+ "required": [
|
|
|
2362
|
+ "companyId"
|
|
|
2363
|
+ ]
|
|
|
2364
|
+ },
|
|
|
2365
|
+ "projectBelongName": {
|
|
|
2366
|
+ "type": "string",
|
|
|
2367
|
+ "description": "项目归属名称",
|
|
|
2368
|
+ "required": [
|
|
|
2369
|
+ "projectBelongName"
|
|
|
2370
|
+ ]
|
|
|
2371
|
+ }
|
|
|
2372
|
+ }
|
|
|
2373
|
+ },
|
|
|
2374
|
+ "ProjectBelongCreateProjectBelongResponseBody": {
|
|
|
2375
|
+ "title": "Mediatype identifier: ProjectBelongCreateProjectBelongResponseBody",
|
|
|
2376
|
+ "type": "object",
|
|
|
2377
|
+ "properties": {
|
|
|
2378
|
+ "projectBelong": {
|
|
|
2379
|
+ "$ref": "#/definitions/projectBelongResponseBody"
|
|
|
2380
|
+ }
|
|
|
2381
|
+ }
|
|
|
2382
|
+ },
|
|
|
2383
|
+ "ProjectBelongGetProjectBelongResponseBody": {
|
|
|
2384
|
+ "title": "Mediatype identifier: ProjectBelongGetProjectBelongResponseBody",
|
|
|
2385
|
+ "type": "object",
|
|
|
2386
|
+ "properties": {
|
|
|
2387
|
+ "projectBelong": {
|
|
|
2388
|
+ "$ref": "#/definitions/projectBelongResponseBody"
|
|
|
2389
|
+ }
|
|
|
2390
|
+ }
|
|
|
2391
|
+ },
|
|
|
2392
|
+ "ProjectBelongListProjectBelongResponseBody": {
|
|
|
2393
|
+ "title": "Mediatype identifier: ProjectBelongListProjectBelongResponseBody",
|
|
|
2394
|
+ "type": "object",
|
|
|
2395
|
+ "properties": {
|
|
|
2396
|
+ "count": {
|
|
|
2397
|
+ "type": "integer",
|
|
|
2398
|
+ "description": "结果总数",
|
|
|
2399
|
+ "format": "int64"
|
|
|
2400
|
+ },
|
|
|
2401
|
+ "projectBelongs": {
|
|
|
2402
|
+ "type": "array",
|
|
|
2403
|
+ "items": {
|
|
|
2404
|
+ "$ref": "#/definitions/projectBelongResponseBody"
|
|
|
2405
|
+ }
|
|
|
2406
|
+ }
|
|
|
2407
|
+ }
|
|
|
2408
|
+ },
|
|
|
2409
|
+ "ProjectBelongRemoveProjectBelongResponseBody": {
|
|
|
2410
|
+ "title": "Mediatype identifier: ProjectBelongRemoveProjectBelongResponseBody",
|
|
|
2411
|
+ "type": "object",
|
|
|
2412
|
+ "properties": {
|
|
|
2413
|
+ "projectBelong": {
|
|
|
2414
|
+ "$ref": "#/definitions/projectBelongResponseBody"
|
|
|
2415
|
+ }
|
|
|
2416
|
+ }
|
|
|
2417
|
+ },
|
|
|
2418
|
+ "ProjectBelongUpdateProjectBelongRequestBody": {
|
|
|
2419
|
+ "title": "ProjectBelongUpdateProjectBelongRequestBody",
|
|
|
2420
|
+ "type": "object",
|
|
|
2421
|
+ "properties": {
|
|
|
2422
|
+ "projectBelongName": {
|
|
|
2423
|
+ "type": "string",
|
|
|
2424
|
+ "description": "项目归属名称"
|
|
|
2425
|
+ }
|
|
|
2426
|
+ }
|
|
|
2427
|
+ },
|
|
|
2428
|
+ "ProjectBelongUpdateProjectBelongResponseBody": {
|
|
|
2429
|
+ "title": "Mediatype identifier: ProjectBelongUpdateProjectBelongResponseBody",
|
|
|
2430
|
+ "type": "object",
|
|
|
2431
|
+ "properties": {
|
|
|
2432
|
+ "projectBelong": {
|
|
|
2433
|
+ "$ref": "#/definitions/projectBelongResponseBody"
|
|
|
2434
|
+ }
|
|
|
2435
|
+ }
|
|
|
2436
|
+ },
|
|
|
2437
|
+ "RejectTaskRecordGetRejectTaskRecordResponseBody": {
|
|
|
2438
|
+ "title": "Mediatype identifier: RejectTaskRecordGetRejectTaskRecordResponseBody",
|
|
|
2439
|
+ "type": "object",
|
|
|
2440
|
+ "properties": {
|
|
|
2441
|
+ "rejectTaskRecord": {
|
|
|
2442
|
+ "$ref": "#/definitions/rejectTaskRecordResponseBody"
|
|
|
2443
|
+ }
|
|
|
2444
|
+ }
|
|
|
2445
|
+ },
|
|
|
2446
|
+ "RejectTaskRecordSearchRejectTaskRecordRequestBody": {
|
|
|
2447
|
+ "title": "RejectTaskRecordSearchRejectTaskRecordRequestBody",
|
|
|
2448
|
+ "type": "object",
|
|
|
2449
|
+ "properties": {
|
|
|
2450
|
+ "companyId": {
|
|
|
2451
|
+ "type": "integer",
|
|
|
2452
|
+ "description": "公司ID",
|
|
|
2453
|
+ "required": [
|
|
|
2454
|
+ "companyId"
|
|
|
2455
|
+ ]
|
|
|
2456
|
+ },
|
|
|
2457
|
+ "customerValue": {
|
|
|
2458
|
+ "type": "array",
|
|
|
2459
|
+ "items": {
|
|
|
2460
|
+ "type": "integer",
|
|
|
2461
|
+ "format": "int64"
|
|
|
2462
|
+ },
|
|
|
2463
|
+ "description": "客户价值"
|
|
|
2464
|
+ },
|
|
|
2465
|
+ "limit": {
|
|
|
2466
|
+ "type": "integer",
|
|
|
2467
|
+ "description": "查询限制",
|
|
|
2468
|
+ "format": "int64"
|
|
|
2469
|
+ },
|
|
|
2470
|
+ "offset": {
|
|
|
2471
|
+ "type": "integer",
|
|
|
2472
|
+ "description": "查询偏离量",
|
|
|
2473
|
+ "format": "int64"
|
|
|
2474
|
+ },
|
|
|
2475
|
+ "rejectEndTime": {
|
|
|
2476
|
+ "type": "string",
|
|
|
2477
|
+ "description": "驳回任务时间区间-截止时间",
|
|
|
2478
|
+ "format": "datetime"
|
|
|
2479
|
+ },
|
|
|
2480
|
+ "rejectStartTime": {
|
|
|
2481
|
+ "type": "string",
|
|
|
2482
|
+ "description": "驳回任务时间区间-开始时间",
|
|
|
2483
|
+ "format": "datetime"
|
|
|
2484
|
+ },
|
|
|
2485
|
+ "taskContentMatch": {
|
|
|
2486
|
+ "type": "string",
|
|
|
2487
|
+ "description": "任务内容匹配"
|
|
|
2488
|
+ },
|
|
|
2489
|
+ "taskNature": {
|
|
|
2490
|
+ "type": "integer",
|
|
|
2491
|
+ "description": "任务性质",
|
|
|
2492
|
+ "format": "int64"
|
|
|
2493
|
+ },
|
|
|
2494
|
+ "taskType": {
|
|
|
2495
|
+ "type": "integer",
|
|
|
2496
|
+ "description": "任务类型",
|
|
|
2497
|
+ "format": "int64"
|
|
|
2498
|
+ }
|
|
|
2499
|
+ }
|
|
|
2500
|
+ },
|
|
|
2501
|
+ "RejectTaskRecordSearchRejectTaskRecordResponseBody": {
|
|
|
2502
|
+ "title": "Mediatype identifier: RejectTaskRecordSearchRejectTaskRecordResponseBody",
|
|
|
2503
|
+ "type": "object",
|
|
|
2504
|
+ "properties": {
|
|
|
2505
|
+ "count": {
|
|
|
2506
|
+ "type": "integer",
|
|
|
2507
|
+ "description": "结果总数",
|
|
|
2508
|
+ "format": "int64"
|
|
|
2509
|
+ },
|
|
|
2510
|
+ "rejectTaskRecords": {
|
|
|
2511
|
+ "type": "array",
|
|
|
2512
|
+ "items": {
|
|
|
2513
|
+ "$ref": "#/definitions/rejectTaskRecordResponseBody"
|
|
|
2514
|
+ }
|
|
|
2515
|
+ }
|
|
|
2516
|
+ }
|
|
|
2517
|
+ },
|
1460
|
"StatisticsPersonSuMoneyStatisticsRequestBody": {
|
2518
|
"StatisticsPersonSuMoneyStatisticsRequestBody": {
|
1461
|
"title": "StatisticsPersonSuMoneyStatisticsRequestBody",
|
2519
|
"title": "StatisticsPersonSuMoneyStatisticsRequestBody",
|
1462
|
"type": "object",
|
2520
|
"type": "object",
|
|
@@ -1474,8 +2532,20 @@ |
|
@@ -1474,8 +2532,20 @@ |
1474
|
"title": "Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody",
|
2532
|
"title": "Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody",
|
1475
|
"type": "object",
|
2533
|
"type": "object",
|
1476
|
"properties": {
|
2534
|
"properties": {
|
1477
|
- "personSuMoneyStatistics": {
|
|
|
1478
|
- "$ref": "#/definitions/personSuMoneyStatisticsResponseBody"
|
2535
|
+ "currentSuMoney": {
|
|
|
2536
|
+ "type": "number",
|
|
|
2537
|
+ "description": "当前素币数",
|
|
|
2538
|
+ "format": "double"
|
|
|
2539
|
+ },
|
|
|
2540
|
+ "incomeSuMoney": {
|
|
|
2541
|
+ "type": "number",
|
|
|
2542
|
+ "description": "任务奖励素币总数",
|
|
|
2543
|
+ "format": "double"
|
|
|
2544
|
+ },
|
|
|
2545
|
+ "incomeSuMoneyOfYesterday": {
|
|
|
2546
|
+ "type": "number",
|
|
|
2547
|
+ "description": "昨日任务奖励素币数",
|
|
|
2548
|
+ "format": "double"
|
1479
|
}
|
2549
|
}
|
1480
|
}
|
2550
|
}
|
1481
|
},
|
2551
|
},
|
|
@@ -1518,8 +2588,20 @@ |
|
@@ -1518,8 +2588,20 @@ |
1518
|
"title": "Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody",
|
2588
|
"title": "Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody",
|
1519
|
"type": "object",
|
2589
|
"type": "object",
|
1520
|
"properties": {
|
2590
|
"properties": {
|
1521
|
- "systemTaskStatistics": {
|
|
|
1522
|
- "$ref": "#/definitions/systemTaskStatisticsResponseBody"
|
2591
|
+ "completed": {
|
|
|
2592
|
+ "type": "integer",
|
|
|
2593
|
+ "description": "已完成的任务数",
|
|
|
2594
|
+ "format": "int64"
|
|
|
2595
|
+ },
|
|
|
2596
|
+ "released": {
|
|
|
2597
|
+ "type": "integer",
|
|
|
2598
|
+ "description": "发布的任务数",
|
|
|
2599
|
+ "format": "int64"
|
|
|
2600
|
+ },
|
|
|
2601
|
+ "underway": {
|
|
|
2602
|
+ "type": "integer",
|
|
|
2603
|
+ "description": "进行中的任务数",
|
|
|
2604
|
+ "format": "int64"
|
1523
|
}
|
2605
|
}
|
1524
|
}
|
2606
|
}
|
1525
|
},
|
2607
|
},
|
|
@@ -1594,7 +2676,7 @@ |
|
@@ -1594,7 +2676,7 @@ |
1594
|
},
|
2676
|
},
|
1595
|
"recordType": {
|
2677
|
"recordType": {
|
1596
|
"type": "integer",
|
2678
|
"type": "integer",
|
1597
|
- "description": "记录类型(1兑换,2任务奖励)",
|
2679
|
+ "description": "记录类型(1兑换,2任务奖励,3增加,4扣除)",
|
1598
|
"required": [
|
2680
|
"required": [
|
1599
|
"recordType"
|
2681
|
"recordType"
|
1600
|
]
|
2682
|
]
|
|
@@ -1884,45 +2966,100 @@ |
|
@@ -1884,45 +2966,100 @@ |
1884
|
"type": "string",
|
2966
|
"type": "string",
|
1885
|
"description": "任务性质",
|
2967
|
"description": "任务性质",
|
1886
|
"required": [
|
2968
|
"required": [
|
1887
|
- "taskNature"
|
2969
|
+ "taskNature"
|
|
|
2970
|
+ ]
|
|
|
2971
|
+ },
|
|
|
2972
|
+ "taskPictureUrls": {
|
|
|
2973
|
+ "type": "array",
|
|
|
2974
|
+ "items": {
|
|
|
2975
|
+ "type": "string"
|
|
|
2976
|
+ },
|
|
|
2977
|
+ "description": "任务图片URL列表"
|
|
|
2978
|
+ },
|
|
|
2979
|
+ "taskType": {
|
|
|
2980
|
+ "type": "integer",
|
|
|
2981
|
+ "description": "任务类型",
|
|
|
2982
|
+ "required": [
|
|
|
2983
|
+ "taskType"
|
|
|
2984
|
+ ]
|
|
|
2985
|
+ }
|
|
|
2986
|
+ }
|
|
|
2987
|
+ },
|
|
|
2988
|
+ "TaskCreateTaskResponseBody": {
|
|
|
2989
|
+ "title": "Mediatype identifier: TaskCreateTaskResponseBody",
|
|
|
2990
|
+ "type": "object",
|
|
|
2991
|
+ "properties": {
|
|
|
2992
|
+ "task": {
|
|
|
2993
|
+ "$ref": "#/definitions/taskResponseBody"
|
|
|
2994
|
+ }
|
|
|
2995
|
+ }
|
|
|
2996
|
+ },
|
|
|
2997
|
+ "TaskGetTaskResponseBody": {
|
|
|
2998
|
+ "title": "Mediatype identifier: TaskGetTaskResponseBody",
|
|
|
2999
|
+ "type": "object",
|
|
|
3000
|
+ "properties": {
|
|
|
3001
|
+ "task": {
|
|
|
3002
|
+ "$ref": "#/definitions/taskResponseBody"
|
|
|
3003
|
+ }
|
|
|
3004
|
+ }
|
|
|
3005
|
+ },
|
|
|
3006
|
+ "TaskListTaskResponseBody": {
|
|
|
3007
|
+ "title": "Mediatype identifier: TaskListTaskResponseBody",
|
|
|
3008
|
+ "type": "object",
|
|
|
3009
|
+ "properties": {
|
|
|
3010
|
+ "count": {
|
|
|
3011
|
+ "type": "integer",
|
|
|
3012
|
+ "description": "结果总数",
|
|
|
3013
|
+ "format": "int64"
|
|
|
3014
|
+ },
|
|
|
3015
|
+ "tasks": {
|
|
|
3016
|
+ "type": "array",
|
|
|
3017
|
+ "items": {
|
|
|
3018
|
+ "$ref": "#/definitions/taskResponseBody"
|
|
|
3019
|
+ }
|
|
|
3020
|
+ }
|
|
|
3021
|
+ }
|
|
|
3022
|
+ },
|
|
|
3023
|
+ "TaskNatureCreateTaskNatureRequestBody": {
|
|
|
3024
|
+ "title": "TaskNatureCreateTaskNatureRequestBody",
|
|
|
3025
|
+ "type": "object",
|
|
|
3026
|
+ "properties": {
|
|
|
3027
|
+ "companyId": {
|
|
|
3028
|
+ "type": "integer",
|
|
|
3029
|
+ "description": "公司ID",
|
|
|
3030
|
+ "required": [
|
|
|
3031
|
+ "companyId"
|
1888
|
]
|
3032
|
]
|
1889
|
},
|
3033
|
},
|
1890
|
- "taskPictureUrls": {
|
|
|
1891
|
- "type": "array",
|
|
|
1892
|
- "items": {
|
|
|
1893
|
- "type": "string"
|
|
|
1894
|
- },
|
|
|
1895
|
- "description": "任务图片URL列表"
|
|
|
1896
|
- },
|
|
|
1897
|
- "taskType": {
|
|
|
1898
|
- "type": "integer",
|
|
|
1899
|
- "description": "任务类型",
|
3034
|
+ "taskNatureName": {
|
|
|
3035
|
+ "type": "string",
|
|
|
3036
|
+ "description": "任务性质名称",
|
1900
|
"required": [
|
3037
|
"required": [
|
1901
|
- "taskType"
|
3038
|
+ "taskNatureName"
|
1902
|
]
|
3039
|
]
|
1903
|
}
|
3040
|
}
|
1904
|
}
|
3041
|
}
|
1905
|
},
|
3042
|
},
|
1906
|
- "TaskCreateTaskResponseBody": {
|
|
|
1907
|
- "title": "Mediatype identifier: TaskCreateTaskResponseBody",
|
3043
|
+ "TaskNatureCreateTaskNatureResponseBody": {
|
|
|
3044
|
+ "title": "Mediatype identifier: TaskNatureCreateTaskNatureResponseBody",
|
1908
|
"type": "object",
|
3045
|
"type": "object",
|
1909
|
"properties": {
|
3046
|
"properties": {
|
1910
|
- "task": {
|
|
|
1911
|
- "$ref": "#/definitions/taskResponseBody"
|
3047
|
+ "taskNature": {
|
|
|
3048
|
+ "$ref": "#/definitions/taskNatureResponseBody"
|
1912
|
}
|
3049
|
}
|
1913
|
}
|
3050
|
}
|
1914
|
},
|
3051
|
},
|
1915
|
- "TaskGetTaskResponseBody": {
|
|
|
1916
|
- "title": "Mediatype identifier: TaskGetTaskResponseBody",
|
3052
|
+ "TaskNatureGetTaskNatureResponseBody": {
|
|
|
3053
|
+ "title": "Mediatype identifier: TaskNatureGetTaskNatureResponseBody",
|
1917
|
"type": "object",
|
3054
|
"type": "object",
|
1918
|
"properties": {
|
3055
|
"properties": {
|
1919
|
- "task": {
|
|
|
1920
|
- "$ref": "#/definitions/taskResponseBody"
|
3056
|
+ "taskNature": {
|
|
|
3057
|
+ "$ref": "#/definitions/taskNatureResponseBody"
|
1921
|
}
|
3058
|
}
|
1922
|
}
|
3059
|
}
|
1923
|
},
|
3060
|
},
|
1924
|
- "TaskListTaskResponseBody": {
|
|
|
1925
|
- "title": "Mediatype identifier: TaskListTaskResponseBody",
|
3061
|
+ "TaskNatureListTaskNatureResponseBody": {
|
|
|
3062
|
+ "title": "Mediatype identifier: TaskNatureListTaskNatureResponseBody",
|
1926
|
"type": "object",
|
3063
|
"type": "object",
|
1927
|
"properties": {
|
3064
|
"properties": {
|
1928
|
"count": {
|
3065
|
"count": {
|
|
@@ -1930,12 +3067,40 @@ |
|
@@ -1930,12 +3067,40 @@ |
1930
|
"description": "结果总数",
|
3067
|
"description": "结果总数",
|
1931
|
"format": "int64"
|
3068
|
"format": "int64"
|
1932
|
},
|
3069
|
},
|
1933
|
- "tasks": {
|
3070
|
+ "taskNatures": {
|
1934
|
"type": "array",
|
3071
|
"type": "array",
|
1935
|
"items": {
|
3072
|
"items": {
|
1936
|
- "$ref": "#/definitions/taskResponseBody"
|
3073
|
+ "$ref": "#/definitions/taskNatureResponseBody"
|
|
|
3074
|
+ }
|
1937
|
}
|
3075
|
}
|
1938
|
}
|
3076
|
}
|
|
|
3077
|
+ },
|
|
|
3078
|
+ "TaskNatureRemoveTaskNatureResponseBody": {
|
|
|
3079
|
+ "title": "Mediatype identifier: TaskNatureRemoveTaskNatureResponseBody",
|
|
|
3080
|
+ "type": "object",
|
|
|
3081
|
+ "properties": {
|
|
|
3082
|
+ "taskNature": {
|
|
|
3083
|
+ "$ref": "#/definitions/taskNatureResponseBody"
|
|
|
3084
|
+ }
|
|
|
3085
|
+ }
|
|
|
3086
|
+ },
|
|
|
3087
|
+ "TaskNatureUpdateTaskNatureRequestBody": {
|
|
|
3088
|
+ "title": "TaskNatureUpdateTaskNatureRequestBody",
|
|
|
3089
|
+ "type": "object",
|
|
|
3090
|
+ "properties": {
|
|
|
3091
|
+ "taskNatureName": {
|
|
|
3092
|
+ "type": "string",
|
|
|
3093
|
+ "description": "任务性质名称"
|
|
|
3094
|
+ }
|
|
|
3095
|
+ }
|
|
|
3096
|
+ },
|
|
|
3097
|
+ "TaskNatureUpdateTaskNatureResponseBody": {
|
|
|
3098
|
+ "title": "Mediatype identifier: TaskNatureUpdateTaskNatureResponseBody",
|
|
|
3099
|
+ "type": "object",
|
|
|
3100
|
+ "properties": {
|
|
|
3101
|
+ "taskNature": {
|
|
|
3102
|
+ "$ref": "#/definitions/taskNatureResponseBody"
|
|
|
3103
|
+ }
|
1939
|
}
|
3104
|
}
|
1940
|
},
|
3105
|
},
|
1941
|
"TaskOffTaskRequestBody": {
|
3106
|
"TaskOffTaskRequestBody": {
|
|
@@ -2150,6 +3315,26 @@ |
|
@@ -2150,6 +3315,26 @@ |
2150
|
"description": "任务领取人UID",
|
3315
|
"description": "任务领取人UID",
|
2151
|
"format": "int64"
|
3316
|
"format": "int64"
|
2152
|
},
|
3317
|
},
|
|
|
3318
|
+ "sortByAcceptanceTime": {
|
|
|
3319
|
+ "type": "string",
|
|
|
3320
|
+ "description": "按验收方验收时间排序(ASC,DESC)"
|
|
|
3321
|
+ },
|
|
|
3322
|
+ "sortByCompleteTime": {
|
|
|
3323
|
+ "type": "string",
|
|
|
3324
|
+ "description": "按完成任务操作时间排序(ASC,DESC)"
|
|
|
3325
|
+ },
|
|
|
3326
|
+ "sortByCreateTime": {
|
|
|
3327
|
+ "type": "string",
|
|
|
3328
|
+ "description": "按创建任务时间排序(ASC,DESC)"
|
|
|
3329
|
+ },
|
|
|
3330
|
+ "sortByReceiveTime": {
|
|
|
3331
|
+ "type": "string",
|
|
|
3332
|
+ "description": "按领取任务时间排序(ASC,DESC)"
|
|
|
3333
|
+ },
|
|
|
3334
|
+ "sortByReleaseTime": {
|
|
|
3335
|
+ "type": "string",
|
|
|
3336
|
+ "description": "按发布任务时间排序(ASC,DESC)"
|
|
|
3337
|
+ },
|
2153
|
"sponsor": {
|
3338
|
"sponsor": {
|
2154
|
"type": "integer",
|
3339
|
"type": "integer",
|
2155
|
"description": "任务发起者UID",
|
3340
|
"description": "任务发起者UID",
|
|
@@ -2259,6 +3444,42 @@ |
|
@@ -2259,6 +3444,42 @@ |
2259
|
}
|
3444
|
}
|
2260
|
}
|
3445
|
}
|
2261
|
},
|
3446
|
},
|
|
|
3447
|
+ "UnifiedUserCenterSyncEmployeeCallbackRequestBody": {
|
|
|
3448
|
+ "title": "UnifiedUserCenterSyncEmployeeCallbackRequestBody",
|
|
|
3449
|
+ "type": "object",
|
|
|
3450
|
+ "properties": {
|
|
|
3451
|
+ "action": {
|
|
|
3452
|
+ "type": "string",
|
|
|
3453
|
+ "description": "add:添加,edit:编辑,delete删除,batchDelete:批量删除,setCompanyCharge:更改公司主管,batchForbid:批量禁用用户,batchRemove:批量更改用户部门,changeAdmin换管理员",
|
|
|
3454
|
+ "required": [
|
|
|
3455
|
+ "action"
|
|
|
3456
|
+ ]
|
|
|
3457
|
+ },
|
|
|
3458
|
+ "data": {
|
|
|
3459
|
+ "type": "string",
|
|
|
3460
|
+ "description": "具体的对象JSON数据",
|
|
|
3461
|
+ "required": [
|
|
|
3462
|
+ "data"
|
|
|
3463
|
+ ]
|
|
|
3464
|
+ },
|
|
|
3465
|
+ "module": {
|
|
|
3466
|
+ "type": "string",
|
|
|
3467
|
+ "description": "position:职位,department:部门,employee:员工,company:公司,profile员工档案",
|
|
|
3468
|
+ "required": [
|
|
|
3469
|
+ "module"
|
|
|
3470
|
+ ]
|
|
|
3471
|
+ }
|
|
|
3472
|
+ }
|
|
|
3473
|
+ },
|
|
|
3474
|
+ "UnifiedUserCenterSyncEmployeeCallbackResponseBody": {
|
|
|
3475
|
+ "title": "Mediatype identifier: UnifiedUserCenterSyncEmployeeCallbackResponseBody",
|
|
|
3476
|
+ "type": "object",
|
|
|
3477
|
+ "properties": {
|
|
|
3478
|
+ "employee": {
|
|
|
3479
|
+ "$ref": "#/definitions/employeeResponseBody"
|
|
|
3480
|
+ }
|
|
|
3481
|
+ }
|
|
|
3482
|
+ },
|
2262
|
"bidInfoResponseBody": {
|
3483
|
"bidInfoResponseBody": {
|
2263
|
"title": "bidInfoResponseBody",
|
3484
|
"title": "bidInfoResponseBody",
|
2264
|
"type": "object",
|
3485
|
"type": "object",
|
|
@@ -2335,6 +3556,34 @@ |
|
@@ -2335,6 +3556,34 @@ |
2335
|
},
|
3556
|
},
|
2336
|
"description": "配置字典"
|
3557
|
"description": "配置字典"
|
2337
|
},
|
3558
|
},
|
|
|
3559
|
+ "customerValueResponseBody": {
|
|
|
3560
|
+ "title": "customerValueResponseBody",
|
|
|
3561
|
+ "type": "object",
|
|
|
3562
|
+ "properties": {
|
|
|
3563
|
+ "companyId": {
|
|
|
3564
|
+ "type": "integer",
|
|
|
3565
|
+ "description": "公司ID",
|
|
|
3566
|
+ "required": [
|
|
|
3567
|
+ "companyId"
|
|
|
3568
|
+ ]
|
|
|
3569
|
+ },
|
|
|
3570
|
+ "customerValueId": {
|
|
|
3571
|
+ "type": "integer",
|
|
|
3572
|
+ "description": "客户价值ID",
|
|
|
3573
|
+ "required": [
|
|
|
3574
|
+ "customerValueId"
|
|
|
3575
|
+ ]
|
|
|
3576
|
+ },
|
|
|
3577
|
+ "customerValueName": {
|
|
|
3578
|
+ "type": "string",
|
|
|
3579
|
+ "description": "客户价值名称",
|
|
|
3580
|
+ "required": [
|
|
|
3581
|
+ "customerValueName"
|
|
|
3582
|
+ ]
|
|
|
3583
|
+ }
|
|
|
3584
|
+ },
|
|
|
3585
|
+ "description": "客户价值"
|
|
|
3586
|
+ },
|
2338
|
"employeeInfoRequestBody": {
|
3587
|
"employeeInfoRequestBody": {
|
2339
|
"title": "employeeInfoRequestBody",
|
3588
|
"title": "employeeInfoRequestBody",
|
2340
|
"type": "object",
|
3589
|
"type": "object",
|
|
@@ -2354,6 +3603,10 @@ |
|
@@ -2354,6 +3603,10 @@ |
2354
|
"employeeName"
|
3603
|
"employeeName"
|
2355
|
]
|
3604
|
]
|
2356
|
},
|
3605
|
},
|
|
|
3606
|
+ "isPrincipal": {
|
|
|
3607
|
+ "type": "boolean",
|
|
|
3608
|
+ "description": "是否公司负责人"
|
|
|
3609
|
+ },
|
2357
|
"uid": {
|
3610
|
"uid": {
|
2358
|
"type": "integer",
|
3611
|
"type": "integer",
|
2359
|
"description": "统一用户UID",
|
3612
|
"description": "统一用户UID",
|
|
@@ -2383,6 +3636,10 @@ |
|
@@ -2383,6 +3636,10 @@ |
2383
|
"employeeName"
|
3636
|
"employeeName"
|
2384
|
]
|
3637
|
]
|
2385
|
},
|
3638
|
},
|
|
|
3639
|
+ "isPrincipal": {
|
|
|
3640
|
+ "type": "boolean",
|
|
|
3641
|
+ "description": "是否公司负责人"
|
|
|
3642
|
+ },
|
2386
|
"uid": {
|
3643
|
"uid": {
|
2387
|
"type": "integer",
|
3644
|
"type": "integer",
|
2388
|
"description": "统一用户UID",
|
3645
|
"description": "统一用户UID",
|
|
@@ -2440,6 +3697,55 @@ |
|
@@ -2440,6 +3697,55 @@ |
2440
|
},
|
3697
|
},
|
2441
|
"description": "员工"
|
3698
|
"description": "员工"
|
2442
|
},
|
3699
|
},
|
|
|
3700
|
+ "notificationResponseBody": {
|
|
|
3701
|
+ "title": "notificationResponseBody",
|
|
|
3702
|
+ "type": "object",
|
|
|
3703
|
+ "properties": {
|
|
|
3704
|
+ "externalResource": {
|
|
|
3705
|
+ "type": "string",
|
|
|
3706
|
+ "description": "外部资源引用",
|
|
|
3707
|
+ "required": [
|
|
|
3708
|
+ "externalResource"
|
|
|
3709
|
+ ]
|
|
|
3710
|
+ },
|
|
|
3711
|
+ "notificationContent": {
|
|
|
3712
|
+ "type": "string",
|
|
|
3713
|
+ "description": "通知内容",
|
|
|
3714
|
+ "required": [
|
|
|
3715
|
+ "notificationContent"
|
|
|
3716
|
+ ]
|
|
|
3717
|
+ },
|
|
|
3718
|
+ "notificationId": {
|
|
|
3719
|
+ "type": "integer",
|
|
|
3720
|
+ "description": "通知ID",
|
|
|
3721
|
+ "required": [
|
|
|
3722
|
+ "notificationId"
|
|
|
3723
|
+ ]
|
|
|
3724
|
+ },
|
|
|
3725
|
+ "notificationTime": {
|
|
|
3726
|
+ "type": "string",
|
|
|
3727
|
+ "description": "通知时间",
|
|
|
3728
|
+ "required": [
|
|
|
3729
|
+ "notificationTime"
|
|
|
3730
|
+ ]
|
|
|
3731
|
+ },
|
|
|
3732
|
+ "notificationTitle": {
|
|
|
3733
|
+ "type": "string",
|
|
|
3734
|
+ "description": "通知标题",
|
|
|
3735
|
+ "required": [
|
|
|
3736
|
+ "notificationTitle"
|
|
|
3737
|
+ ]
|
|
|
3738
|
+ },
|
|
|
3739
|
+ "notificationType": {
|
|
|
3740
|
+ "type": "integer",
|
|
|
3741
|
+ "description": "通知类型",
|
|
|
3742
|
+ "required": [
|
|
|
3743
|
+ "notificationType"
|
|
|
3744
|
+ ]
|
|
|
3745
|
+ }
|
|
|
3746
|
+ },
|
|
|
3747
|
+ "description": "通知"
|
|
|
3748
|
+ },
|
2443
|
"offTaskRecordResponseBody": {
|
3749
|
"offTaskRecordResponseBody": {
|
2444
|
"title": "offTaskRecordResponseBody",
|
3750
|
"title": "offTaskRecordResponseBody",
|
2445
|
"type": "object",
|
3751
|
"type": "object",
|
|
@@ -2474,27 +3780,6 @@ |
|
@@ -2474,27 +3780,6 @@ |
2474
|
},
|
3780
|
},
|
2475
|
"description": "关闭任务记录"
|
3781
|
"description": "关闭任务记录"
|
2476
|
},
|
3782
|
},
|
2477
|
- "personSuMoneyStatisticsResponseBody": {
|
|
|
2478
|
- "title": "personSuMoneyStatisticsResponseBody",
|
|
|
2479
|
- "type": "object",
|
|
|
2480
|
- "properties": {
|
|
|
2481
|
- "currentSuMoney": {
|
|
|
2482
|
- "type": "number",
|
|
|
2483
|
- "description": "当前素币",
|
|
|
2484
|
- "required": [
|
|
|
2485
|
- "currentSuMoney"
|
|
|
2486
|
- ]
|
|
|
2487
|
- },
|
|
|
2488
|
- "incomeSuMoneyOfYesterday": {
|
|
|
2489
|
- "type": "number",
|
|
|
2490
|
- "description": "昨日收益",
|
|
|
2491
|
- "required": [
|
|
|
2492
|
- "incomeSuMoneyOfYesterday"
|
|
|
2493
|
- ]
|
|
|
2494
|
- }
|
|
|
2495
|
- },
|
|
|
2496
|
- "description": "个人素币统计"
|
|
|
2497
|
- },
|
|
|
2498
|
"personTaskStatisticsResponseBody": {
|
3783
|
"personTaskStatisticsResponseBody": {
|
2499
|
"title": "personTaskStatisticsResponseBody",
|
3784
|
"title": "personTaskStatisticsResponseBody",
|
2500
|
"type": "object",
|
3785
|
"type": "object",
|
|
@@ -2572,6 +3857,34 @@ |
|
@@ -2572,6 +3857,34 @@ |
2572
|
},
|
3857
|
},
|
2573
|
"description": "个人任务统计"
|
3858
|
"description": "个人任务统计"
|
2574
|
},
|
3859
|
},
|
|
|
3860
|
+ "projectBelongResponseBody": {
|
|
|
3861
|
+ "title": "projectBelongResponseBody",
|
|
|
3862
|
+ "type": "object",
|
|
|
3863
|
+ "properties": {
|
|
|
3864
|
+ "companyId": {
|
|
|
3865
|
+ "type": "integer",
|
|
|
3866
|
+ "description": "公司ID",
|
|
|
3867
|
+ "required": [
|
|
|
3868
|
+ "companyId"
|
|
|
3869
|
+ ]
|
|
|
3870
|
+ },
|
|
|
3871
|
+ "projectBelongId": {
|
|
|
3872
|
+ "type": "integer",
|
|
|
3873
|
+ "description": "项目归属ID",
|
|
|
3874
|
+ "required": [
|
|
|
3875
|
+ "projectBelongId"
|
|
|
3876
|
+ ]
|
|
|
3877
|
+ },
|
|
|
3878
|
+ "projectBelongName": {
|
|
|
3879
|
+ "type": "string",
|
|
|
3880
|
+ "description": "项目归属名称",
|
|
|
3881
|
+ "required": [
|
|
|
3882
|
+ "projectBelongName"
|
|
|
3883
|
+ ]
|
|
|
3884
|
+ }
|
|
|
3885
|
+ },
|
|
|
3886
|
+ "description": "项目归属"
|
|
|
3887
|
+ },
|
2575
|
"referenceResourceItemRequestBody": {
|
3888
|
"referenceResourceItemRequestBody": {
|
2576
|
"title": "referenceResourceItemRequestBody",
|
3889
|
"title": "referenceResourceItemRequestBody",
|
2577
|
"type": "object",
|
3890
|
"type": "object",
|
|
@@ -2714,6 +4027,40 @@ |
|
@@ -2714,6 +4027,40 @@ |
2714
|
},
|
4027
|
},
|
2715
|
"description": "引用资源"
|
4028
|
"description": "引用资源"
|
2716
|
},
|
4029
|
},
|
|
|
4030
|
+ "rejectTaskRecordResponseBody": {
|
|
|
4031
|
+ "title": "rejectTaskRecordResponseBody",
|
|
|
4032
|
+ "type": "object",
|
|
|
4033
|
+ "properties": {
|
|
|
4034
|
+ "createTime": {
|
|
|
4035
|
+ "type": "string",
|
|
|
4036
|
+ "description": "创建时间",
|
|
|
4037
|
+ "required": [
|
|
|
4038
|
+ "createTime"
|
|
|
4039
|
+ ]
|
|
|
4040
|
+ },
|
|
|
4041
|
+ "operator": {
|
|
|
4042
|
+ "$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
4043
|
+ },
|
|
|
4044
|
+ "rejectReason": {
|
|
|
4045
|
+ "type": "string",
|
|
|
4046
|
+ "description": "驳回理由",
|
|
|
4047
|
+ "required": [
|
|
|
4048
|
+ "rejectReason"
|
|
|
4049
|
+ ]
|
|
|
4050
|
+ },
|
|
|
4051
|
+ "rejectTaskRecordId": {
|
|
|
4052
|
+ "type": "integer",
|
|
|
4053
|
+ "description": "驳回任务记录ID",
|
|
|
4054
|
+ "required": [
|
|
|
4055
|
+ "rejectTaskRecordId"
|
|
|
4056
|
+ ]
|
|
|
4057
|
+ },
|
|
|
4058
|
+ "task": {
|
|
|
4059
|
+ "$ref": "#/definitions/taskResponseBody"
|
|
|
4060
|
+ }
|
|
|
4061
|
+ },
|
|
|
4062
|
+ "description": "驳回任务记录"
|
|
|
4063
|
+ },
|
2717
|
"robInfoResponseBody": {
|
4064
|
"robInfoResponseBody": {
|
2718
|
"title": "robInfoResponseBody",
|
4065
|
"title": "robInfoResponseBody",
|
2719
|
"type": "object",
|
4066
|
"type": "object",
|
|
@@ -2731,6 +4078,40 @@ |
|
@@ -2731,6 +4078,40 @@ |
2731
|
},
|
4078
|
},
|
2732
|
"description": "抢单任务信息"
|
4079
|
"description": "抢单任务信息"
|
2733
|
},
|
4080
|
},
|
|
|
4081
|
+ "sentNotificationResponseBody": {
|
|
|
4082
|
+ "title": "sentNotificationResponseBody",
|
|
|
4083
|
+ "type": "object",
|
|
|
4084
|
+ "properties": {
|
|
|
4085
|
+ "isRead": {
|
|
|
4086
|
+ "type": "boolean",
|
|
|
4087
|
+ "description": "是否已读",
|
|
|
4088
|
+ "required": [
|
|
|
4089
|
+ "isRead"
|
|
|
4090
|
+ ]
|
|
|
4091
|
+ },
|
|
|
4092
|
+ "notification": {
|
|
|
4093
|
+ "$ref": "#/definitions/notificationResponseBody"
|
|
|
4094
|
+ },
|
|
|
4095
|
+ "readTime": {
|
|
|
4096
|
+ "type": "string",
|
|
|
4097
|
+ "description": "通知读取时间",
|
|
|
4098
|
+ "required": [
|
|
|
4099
|
+ "readTime"
|
|
|
4100
|
+ ]
|
|
|
4101
|
+ },
|
|
|
4102
|
+ "receiver": {
|
|
|
4103
|
+ "$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
4104
|
+ },
|
|
|
4105
|
+ "sentNotificationId": {
|
|
|
4106
|
+ "type": "integer",
|
|
|
4107
|
+ "description": "发送出的通知ID",
|
|
|
4108
|
+ "required": [
|
|
|
4109
|
+ "sentNotificationId"
|
|
|
4110
|
+ ]
|
|
|
4111
|
+ }
|
|
|
4112
|
+ },
|
|
|
4113
|
+ "description": "发送出的通知"
|
|
|
4114
|
+ },
|
2734
|
"solveScoreItemRequestBody": {
|
4115
|
"solveScoreItemRequestBody": {
|
2735
|
"title": "solveScoreItemRequestBody",
|
4116
|
"title": "solveScoreItemRequestBody",
|
2736
|
"type": "object",
|
4117
|
"type": "object",
|
|
@@ -2819,7 +4200,7 @@ |
|
@@ -2819,7 +4200,7 @@ |
2819
|
},
|
4200
|
},
|
2820
|
"recordType": {
|
4201
|
"recordType": {
|
2821
|
"type": "integer",
|
4202
|
"type": "integer",
|
2822
|
- "description": "记录类型(1兑换,2任务奖励)",
|
4203
|
+ "description": "记录类型(1兑换,2任务奖励,3增加,4扣除)",
|
2823
|
"required": [
|
4204
|
"required": [
|
2824
|
"recordType"
|
4205
|
"recordType"
|
2825
|
]
|
4206
|
]
|
|
@@ -2848,29 +4229,33 @@ |
|
@@ -2848,29 +4229,33 @@ |
2848
|
},
|
4229
|
},
|
2849
|
"description": "素币事务记录"
|
4230
|
"description": "素币事务记录"
|
2850
|
},
|
4231
|
},
|
2851
|
- "systemTaskStatisticsResponseBody": {
|
|
|
2852
|
- "title": "systemTaskStatisticsResponseBody",
|
4232
|
+ "taskNatureResponseBody": {
|
|
|
4233
|
+ "title": "taskNatureResponseBody",
|
2853
|
"type": "object",
|
4234
|
"type": "object",
|
2854
|
"properties": {
|
4235
|
"properties": {
|
2855
|
- "completed": {
|
4236
|
+ "companyId": {
|
2856
|
"type": "integer",
|
4237
|
"type": "integer",
|
2857
|
- "description": "系统已完成任务",
|
|
|
2858
|
- "format": "int64"
|
4238
|
+ "description": "公司ID",
|
|
|
4239
|
+ "required": [
|
|
|
4240
|
+ "companyId"
|
|
|
4241
|
+ ]
|
2859
|
},
|
4242
|
},
|
2860
|
- "released": {
|
4243
|
+ "taskNatureId": {
|
2861
|
"type": "integer",
|
4244
|
"type": "integer",
|
2862
|
- "description": "系统已发布任务",
|
4245
|
+ "description": "任务性质ID",
|
2863
|
"required": [
|
4246
|
"required": [
|
2864
|
- "released"
|
4247
|
+ "taskNatureId"
|
2865
|
]
|
4248
|
]
|
2866
|
},
|
4249
|
},
|
2867
|
- "underway": {
|
|
|
2868
|
- "type": "integer",
|
|
|
2869
|
- "description": "系统进行中任务",
|
|
|
2870
|
- "format": "int64"
|
4250
|
+ "taskNatureName": {
|
|
|
4251
|
+ "type": "string",
|
|
|
4252
|
+ "description": "任务性质名称",
|
|
|
4253
|
+ "required": [
|
|
|
4254
|
+ "taskNatureName"
|
|
|
4255
|
+ ]
|
2871
|
}
|
4256
|
}
|
2872
|
},
|
4257
|
},
|
2873
|
- "description": "系统任务统计"
|
4258
|
+ "description": "任务性质"
|
2874
|
},
|
4259
|
},
|
2875
|
"taskPercentageItemRequestBody": {
|
4260
|
"taskPercentageItemRequestBody": {
|
2876
|
"title": "taskPercentageItemRequestBody",
|
4261
|
"title": "taskPercentageItemRequestBody",
|
|
@@ -2945,6 +4330,11 @@ |
|
@@ -2945,6 +4330,11 @@ |
2945
|
"acceptanceStandard"
|
4330
|
"acceptanceStandard"
|
2946
|
]
|
4331
|
]
|
2947
|
},
|
4332
|
},
|
|
|
4333
|
+ "acceptanceTime": {
|
|
|
4334
|
+ "type": "string",
|
|
|
4335
|
+ "description": "验收方验收时间",
|
|
|
4336
|
+ "format": "datetime"
|
|
|
4337
|
+ },
|
2948
|
"bidInfo": {
|
4338
|
"bidInfo": {
|
2949
|
"$ref": "#/definitions/bidInfoResponseBody"
|
4339
|
"$ref": "#/definitions/bidInfoResponseBody"
|
2950
|
},
|
4340
|
},
|
|
@@ -2955,6 +4345,11 @@ |
|
@@ -2955,6 +4345,11 @@ |
2955
|
"companyId"
|
4345
|
"companyId"
|
2956
|
]
|
4346
|
]
|
2957
|
},
|
4347
|
},
|
|
|
4348
|
+ "completeTime": {
|
|
|
4349
|
+ "type": "string",
|
|
|
4350
|
+ "description": "完成任务操作时间",
|
|
|
4351
|
+ "format": "datetime"
|
|
|
4352
|
+ },
|
2958
|
"createTime": {
|
4353
|
"createTime": {
|
2959
|
"type": "string",
|
4354
|
"type": "string",
|
2960
|
"description": "创建时间",
|
4355
|
"description": "创建时间",
|
|
@@ -2962,14 +4357,15 @@ |
|
@@ -2962,14 +4357,15 @@ |
2962
|
"createTime"
|
4357
|
"createTime"
|
2963
|
]
|
4358
|
]
|
2964
|
},
|
4359
|
},
|
2965
|
- "customerValue": {
|
4360
|
+ "customerValues": {
|
2966
|
"type": "array",
|
4361
|
"type": "array",
|
2967
|
"items": {
|
4362
|
"items": {
|
2968
|
- "type": "string"
|
4363
|
+ "type": "integer",
|
|
|
4364
|
+ "format": "int64"
|
2969
|
},
|
4365
|
},
|
2970
|
"description": "客户价值列表",
|
4366
|
"description": "客户价值列表",
|
2971
|
"required": [
|
4367
|
"required": [
|
2972
|
- "customerValue"
|
4368
|
+ "customerValues"
|
2973
|
]
|
4369
|
]
|
2974
|
},
|
4370
|
},
|
2975
|
"isRewardTake": {
|
4371
|
"isRewardTake": {
|
|
@@ -2983,12 +4379,28 @@ |
|
@@ -2983,12 +4379,28 @@ |
2983
|
},
|
4379
|
},
|
2984
|
"description": "任务参与者列表"
|
4380
|
"description": "任务参与者列表"
|
2985
|
},
|
4381
|
},
|
|
|
4382
|
+ "projectBelong": {
|
|
|
4383
|
+ "type": "array",
|
|
|
4384
|
+ "items": {
|
|
|
4385
|
+ "type": "integer",
|
|
|
4386
|
+ "format": "int64"
|
|
|
4387
|
+ },
|
|
|
4388
|
+ "description": "项目归属",
|
|
|
4389
|
+ "required": [
|
|
|
4390
|
+ "projectBelong"
|
|
|
4391
|
+ ]
|
|
|
4392
|
+ },
|
|
|
4393
|
+ "receiveTime": {
|
|
|
4394
|
+ "type": "string",
|
|
|
4395
|
+ "description": "领取任务时间",
|
|
|
4396
|
+ "format": "datetime"
|
|
|
4397
|
+ },
|
2986
|
"referenceResource": {
|
4398
|
"referenceResource": {
|
2987
|
"$ref": "#/definitions/referenceResourceResponseBody"
|
4399
|
"$ref": "#/definitions/referenceResourceResponseBody"
|
2988
|
},
|
4400
|
},
|
2989
|
"releaseTime": {
|
4401
|
"releaseTime": {
|
2990
|
"type": "string",
|
4402
|
"type": "string",
|
2991
|
- "description": "发布时间",
|
4403
|
+ "description": "发布任务时间",
|
2992
|
"format": "datetime"
|
4404
|
"format": "datetime"
|
2993
|
},
|
4405
|
},
|
2994
|
"robInfo": {
|
4406
|
"robInfo": {
|
|
@@ -3037,7 +4449,7 @@ |
|
@@ -3037,7 +4449,7 @@ |
3037
|
]
|
4449
|
]
|
3038
|
},
|
4450
|
},
|
3039
|
"taskNature": {
|
4451
|
"taskNature": {
|
3040
|
- "type": "string",
|
4452
|
+ "type": "integer",
|
3041
|
"description": "任务性质",
|
4453
|
"description": "任务性质",
|
3042
|
"required": [
|
4454
|
"required": [
|
3043
|
"taskNature"
|
4455
|
"taskNature"
|
|
@@ -3059,14 +4471,14 @@ |
|
@@ -3059,14 +4471,14 @@ |
3059
|
},
|
4471
|
},
|
3060
|
"taskStatus": {
|
4472
|
"taskStatus": {
|
3061
|
"type": "integer",
|
4473
|
"type": "integer",
|
3062
|
- "description": "任务状态",
|
4474
|
+ "description": "任务状态(1.待发布2.待领取3.进行中4.待验收5.已完成6.关闭7.待确认)",
|
3063
|
"required": [
|
4475
|
"required": [
|
3064
|
"taskStatus"
|
4476
|
"taskStatus"
|
3065
|
]
|
4477
|
]
|
3066
|
},
|
4478
|
},
|
3067
|
"taskType": {
|
4479
|
"taskType": {
|
3068
|
"type": "integer",
|
4480
|
"type": "integer",
|
3069
|
- "description": "任务类型",
|
4481
|
+ "description": "任务类型(1.抢单任务2.竞标任务3.指派任务)",
|
3070
|
"required": [
|
4482
|
"required": [
|
3071
|
"taskType"
|
4483
|
"taskType"
|
3072
|
]
|
4484
|
]
|