正在显示
6 个修改的文件
包含
2668 行增加
和
287 行删除
@@ -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": [ |
@@ -207,7 +419,362 @@ | @@ -207,7 +419,362 @@ | ||
207 | "200": { | 419 | "200": { |
208 | "description": "OK response.", | 420 | "description": "OK response.", |
209 | "schema": { | 421 | "schema": { |
210 | - "$ref": "#/definitions/EmployeeListEmployeeResponseBody" | 422 | + "$ref": "#/definitions/EmployeeListEmployeeResponseBody" |
423 | + } | ||
424 | + } | ||
425 | + }, | ||
426 | + "schemes": [ | ||
427 | + "http" | ||
428 | + ] | ||
429 | + }, | ||
430 | + "post": { | ||
431 | + "tags": [ | ||
432 | + "employee" | ||
433 | + ], | ||
434 | + "summary": "创建新员工", | ||
435 | + "description": "创建新员工", | ||
436 | + "operationId": "employee#createEmployee", | ||
437 | + "parameters": [ | ||
438 | + { | ||
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" | ||
211 | } | 778 | } |
212 | } | 779 | } |
213 | }, | 780 | }, |
@@ -217,18 +784,18 @@ | @@ -217,18 +784,18 @@ | ||
217 | }, | 784 | }, |
218 | "post": { | 785 | "post": { |
219 | "tags": [ | 786 | "tags": [ |
220 | - "employee" | 787 | + "projectBelong" |
221 | ], | 788 | ], |
222 | - "summary": "创建新员工", | ||
223 | - "description": "创建新员工", | ||
224 | - "operationId": "employee#createEmployee", | 789 | + "summary": "创建项目归属", |
790 | + "description": "创建项目归属", | ||
791 | + "operationId": "projectBelong#createProjectBelong", | ||
225 | "parameters": [ | 792 | "parameters": [ |
226 | { | 793 | { |
227 | - "name": "CreateEmployeeRequestBody", | 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": [ |
@@ -1250,27 +1998,110 @@ | @@ -1250,27 +1998,110 @@ | ||
1250 | } | 1998 | } |
1251 | } | 1999 | } |
1252 | }, | 2000 | }, |
1253 | - "ConfigListTaskStatusResponseBody": { | ||
1254 | - "title": "Mediatype identifier: ConfigListTaskStatusResponseBody", | 2001 | + "ConfigListTaskStatusResponseBody": { |
2002 | + "title": "Mediatype identifier: ConfigListTaskStatusResponseBody", | ||
2003 | + "type": "object", | ||
2004 | + "properties": { | ||
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", | ||
1255 | "type": "object", | 2091 | "type": "object", |
1256 | "properties": { | 2092 | "properties": { |
1257 | - "taskStatuses": { | ||
1258 | - "type": "array", | ||
1259 | - "items": { | ||
1260 | - "$ref": "#/definitions/configResponseBody" | ||
1261 | - } | 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,14 +3067,42 @@ | @@ -1930,14 +3067,42 @@ | ||
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" |
1937 | } | 3074 | } |
1938 | } | 3075 | } |
1939 | } | 3076 | } |
1940 | }, | 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 | + } | ||
3104 | + } | ||
3105 | + }, | ||
1941 | "TaskOffTaskRequestBody": { | 3106 | "TaskOffTaskRequestBody": { |
1942 | "title": "TaskOffTaskRequestBody", | 3107 | "title": "TaskOffTaskRequestBody", |
1943 | "type": "object", | 3108 | "type": "object", |
@@ -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 | ] |
@@ -13,6 +13,26 @@ produces: | @@ -13,6 +13,26 @@ produces: | ||
13 | - application/json | 13 | - application/json |
14 | - application/xml | 14 | - application/xml |
15 | paths: | 15 | paths: |
16 | + /api/business/index: | ||
17 | + post: | ||
18 | + tags: | ||
19 | + - unifiedUserCenter | ||
20 | + summary: 同步企业员工回调 | ||
21 | + description: 同步企业员工回调 | ||
22 | + operationId: unifiedUserCenter#syncEmployeeCallback | ||
23 | + parameters: | ||
24 | + - name: SyncEmployeeCallbackRequestBody | ||
25 | + in: body | ||
26 | + required: true | ||
27 | + schema: | ||
28 | + $ref: '#/definitions/UnifiedUserCenterSyncEmployeeCallbackRequestBody' | ||
29 | + responses: | ||
30 | + "200": | ||
31 | + description: OK response. | ||
32 | + schema: | ||
33 | + $ref: '#/definitions/UnifiedUserCenterSyncEmployeeCallbackResponseBody' | ||
34 | + schemes: | ||
35 | + - http | ||
16 | /config/bid-time-matchs: | 36 | /config/bid-time-matchs: |
17 | get: | 37 | get: |
18 | tags: | 38 | tags: |
@@ -111,6 +131,128 @@ paths: | @@ -111,6 +131,128 @@ paths: | ||
111 | $ref: '#/definitions/ConfigListTaskTypeResponseBody' | 131 | $ref: '#/definitions/ConfigListTaskTypeResponseBody' |
112 | schemes: | 132 | schemes: |
113 | - http | 133 | - http |
134 | + /customer-values: | ||
135 | + get: | ||
136 | + tags: | ||
137 | + - customerValue | ||
138 | + summary: 返回客户价值列表 | ||
139 | + description: 返回客户价值列表 | ||
140 | + operationId: customerValue#listCustomerValue | ||
141 | + parameters: | ||
142 | + - name: companyId | ||
143 | + in: query | ||
144 | + description: 公司ID | ||
145 | + required: false | ||
146 | + type: integer | ||
147 | + - name: customerValueName | ||
148 | + in: query | ||
149 | + description: 客户价值名称 | ||
150 | + required: false | ||
151 | + type: string | ||
152 | + - name: customerValueNameMatch | ||
153 | + in: query | ||
154 | + description: 客户价值名称匹配 | ||
155 | + required: false | ||
156 | + type: string | ||
157 | + - name: offset | ||
158 | + in: query | ||
159 | + description: 查询偏离量 | ||
160 | + required: false | ||
161 | + type: integer | ||
162 | + - name: limit | ||
163 | + in: query | ||
164 | + description: 查询限制 | ||
165 | + required: false | ||
166 | + type: integer | ||
167 | + responses: | ||
168 | + "200": | ||
169 | + description: OK response. | ||
170 | + schema: | ||
171 | + $ref: '#/definitions/CustomerValueListCustomerValueResponseBody' | ||
172 | + schemes: | ||
173 | + - http | ||
174 | + post: | ||
175 | + tags: | ||
176 | + - customerValue | ||
177 | + summary: 创建客户价值 | ||
178 | + description: 创建客户价值 | ||
179 | + operationId: customerValue#createCustomerValue | ||
180 | + parameters: | ||
181 | + - name: CreateCustomerValueRequestBody | ||
182 | + in: body | ||
183 | + required: true | ||
184 | + schema: | ||
185 | + $ref: '#/definitions/CustomerValueCreateCustomerValueRequestBody' | ||
186 | + responses: | ||
187 | + "200": | ||
188 | + description: OK response. | ||
189 | + schema: | ||
190 | + $ref: '#/definitions/CustomerValueCreateCustomerValueResponseBody' | ||
191 | + schemes: | ||
192 | + - http | ||
193 | + /customer-values/{customerValueId}: | ||
194 | + get: | ||
195 | + tags: | ||
196 | + - customerValue | ||
197 | + summary: 返回客户价值 | ||
198 | + description: 返回客户价值 | ||
199 | + operationId: customerValue#getCustomerValue | ||
200 | + parameters: | ||
201 | + - name: customerValueId | ||
202 | + in: path | ||
203 | + description: 客户价值ID | ||
204 | + required: true | ||
205 | + type: integer | ||
206 | + responses: | ||
207 | + "200": | ||
208 | + description: OK response. | ||
209 | + schema: | ||
210 | + $ref: '#/definitions/CustomerValueGetCustomerValueResponseBody' | ||
211 | + schemes: | ||
212 | + - http | ||
213 | + put: | ||
214 | + tags: | ||
215 | + - customerValue | ||
216 | + summary: 更新客户价值 | ||
217 | + description: 更新客户价值 | ||
218 | + operationId: customerValue#updateCustomerValue | ||
219 | + parameters: | ||
220 | + - name: customerValueId | ||
221 | + in: path | ||
222 | + description: 客户价值ID | ||
223 | + required: true | ||
224 | + type: integer | ||
225 | + - name: UpdateCustomerValueRequestBody | ||
226 | + in: body | ||
227 | + required: true | ||
228 | + schema: | ||
229 | + $ref: '#/definitions/CustomerValueUpdateCustomerValueRequestBody' | ||
230 | + responses: | ||
231 | + "200": | ||
232 | + description: OK response. | ||
233 | + schema: | ||
234 | + $ref: '#/definitions/CustomerValueUpdateCustomerValueResponseBody' | ||
235 | + schemes: | ||
236 | + - http | ||
237 | + delete: | ||
238 | + tags: | ||
239 | + - customerValue | ||
240 | + summary: 移除客户价值 | ||
241 | + description: 移除客户价值 | ||
242 | + operationId: customerValue#removeCustomerValue | ||
243 | + parameters: | ||
244 | + - name: customerValueId | ||
245 | + in: path | ||
246 | + description: 客户价值ID | ||
247 | + required: true | ||
248 | + type: integer | ||
249 | + responses: | ||
250 | + "200": | ||
251 | + description: OK response. | ||
252 | + schema: | ||
253 | + $ref: '#/definitions/CustomerValueRemoveCustomerValueResponseBody' | ||
254 | + schemes: | ||
255 | + - http | ||
114 | /employees: | 256 | /employees: |
115 | get: | 257 | get: |
116 | tags: | 258 | tags: |
@@ -228,6 +370,81 @@ paths: | @@ -228,6 +370,81 @@ paths: | ||
228 | $ref: '#/definitions/EmployeeRemoveEmployeeResponseBody' | 370 | $ref: '#/definitions/EmployeeRemoveEmployeeResponseBody' |
229 | schemes: | 371 | schemes: |
230 | - http | 372 | - http |
373 | + /notifications: | ||
374 | + get: | ||
375 | + tags: | ||
376 | + - notification | ||
377 | + summary: 返回发送出的通知列表 | ||
378 | + description: 返回发送出的通知列表 | ||
379 | + operationId: notification#listSentNotification | ||
380 | + parameters: | ||
381 | + - name: receiverId | ||
382 | + in: query | ||
383 | + description: 通知接收者Uid | ||
384 | + required: false | ||
385 | + type: integer | ||
386 | + - name: notificationType | ||
387 | + in: query | ||
388 | + description: 通知类型 | ||
389 | + required: false | ||
390 | + type: integer | ||
391 | + - name: offset | ||
392 | + in: query | ||
393 | + description: 查询偏离量 | ||
394 | + required: false | ||
395 | + type: integer | ||
396 | + - name: limit | ||
397 | + in: query | ||
398 | + description: 查询限制 | ||
399 | + required: false | ||
400 | + type: integer | ||
401 | + responses: | ||
402 | + "200": | ||
403 | + description: OK response. | ||
404 | + schema: | ||
405 | + $ref: '#/definitions/NotificationListSentNotificationResponseBody' | ||
406 | + schemes: | ||
407 | + - http | ||
408 | + /notifications/read: | ||
409 | + post: | ||
410 | + tags: | ||
411 | + - notification | ||
412 | + summary: 读取发送出的通知 | ||
413 | + description: 读取发送出的通知 | ||
414 | + operationId: notification#readSentNotification | ||
415 | + parameters: | ||
416 | + - name: ReadSentNotificationRequestBody | ||
417 | + in: body | ||
418 | + required: true | ||
419 | + schema: | ||
420 | + $ref: '#/definitions/NotificationReadSentNotificationRequestBody' | ||
421 | + responses: | ||
422 | + "200": | ||
423 | + description: OK response. | ||
424 | + schema: | ||
425 | + $ref: '#/definitions/NotificationReadSentNotificationResponseBody' | ||
426 | + schemes: | ||
427 | + - http | ||
428 | + /notifications/read-all: | ||
429 | + post: | ||
430 | + tags: | ||
431 | + - notification | ||
432 | + summary: 读取全部为读取的发送出的通知 | ||
433 | + description: 读取全部为读取的发送出的通知 | ||
434 | + operationId: notification#readAllUnReadSentNotification | ||
435 | + parameters: | ||
436 | + - name: ReadAllUnReadSentNotificationRequestBody | ||
437 | + in: body | ||
438 | + required: true | ||
439 | + schema: | ||
440 | + $ref: '#/definitions/NotificationReadAllUnReadSentNotificationRequestBody' | ||
441 | + responses: | ||
442 | + "200": | ||
443 | + description: OK response. | ||
444 | + schema: | ||
445 | + $ref: '#/definitions/NotificationReadAllUnReadSentNotificationResponseBody' | ||
446 | + schemes: | ||
447 | + - http | ||
231 | /off-task-records/{offTaskRecordId}: | 448 | /off-task-records/{offTaskRecordId}: |
232 | get: | 449 | get: |
233 | tags: | 450 | tags: |
@@ -268,6 +485,168 @@ paths: | @@ -268,6 +485,168 @@ paths: | ||
268 | $ref: '#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody' | 485 | $ref: '#/definitions/OffTaskRecordSearchOffTaskRecordResponseBody' |
269 | schemes: | 486 | schemes: |
270 | - http | 487 | - http |
488 | + /project-belongs: | ||
489 | + get: | ||
490 | + tags: | ||
491 | + - projectBelong | ||
492 | + summary: 返回项目归属列表 | ||
493 | + description: 返回项目归属列表 | ||
494 | + operationId: projectBelong#listProjectBelong | ||
495 | + parameters: | ||
496 | + - name: companyId | ||
497 | + in: query | ||
498 | + description: 公司ID | ||
499 | + required: false | ||
500 | + type: integer | ||
501 | + - name: projectBelongName | ||
502 | + in: query | ||
503 | + description: 项目归属名称 | ||
504 | + required: false | ||
505 | + type: string | ||
506 | + - name: projectBelongNameMatch | ||
507 | + in: query | ||
508 | + description: 项目归属名称匹配 | ||
509 | + required: false | ||
510 | + type: string | ||
511 | + - name: offset | ||
512 | + in: query | ||
513 | + description: 查询偏离量 | ||
514 | + required: false | ||
515 | + type: integer | ||
516 | + - name: limit | ||
517 | + in: query | ||
518 | + description: 查询限制 | ||
519 | + required: false | ||
520 | + type: integer | ||
521 | + responses: | ||
522 | + "200": | ||
523 | + description: OK response. | ||
524 | + schema: | ||
525 | + $ref: '#/definitions/ProjectBelongListProjectBelongResponseBody' | ||
526 | + schemes: | ||
527 | + - http | ||
528 | + post: | ||
529 | + tags: | ||
530 | + - projectBelong | ||
531 | + summary: 创建项目归属 | ||
532 | + description: 创建项目归属 | ||
533 | + operationId: projectBelong#createProjectBelong | ||
534 | + parameters: | ||
535 | + - name: CreateProjectBelongRequestBody | ||
536 | + in: body | ||
537 | + required: true | ||
538 | + schema: | ||
539 | + $ref: '#/definitions/ProjectBelongCreateProjectBelongRequestBody' | ||
540 | + responses: | ||
541 | + "200": | ||
542 | + description: OK response. | ||
543 | + schema: | ||
544 | + $ref: '#/definitions/ProjectBelongCreateProjectBelongResponseBody' | ||
545 | + schemes: | ||
546 | + - http | ||
547 | + /project-belongs/{projectBelongId}: | ||
548 | + get: | ||
549 | + tags: | ||
550 | + - projectBelong | ||
551 | + summary: 返回项目归属 | ||
552 | + description: 返回项目归属 | ||
553 | + operationId: projectBelong#getProjectBelong | ||
554 | + parameters: | ||
555 | + - name: projectBelongId | ||
556 | + in: path | ||
557 | + description: 项目归属ID | ||
558 | + required: true | ||
559 | + type: integer | ||
560 | + responses: | ||
561 | + "200": | ||
562 | + description: OK response. | ||
563 | + schema: | ||
564 | + $ref: '#/definitions/ProjectBelongGetProjectBelongResponseBody' | ||
565 | + schemes: | ||
566 | + - http | ||
567 | + put: | ||
568 | + tags: | ||
569 | + - projectBelong | ||
570 | + summary: 更新项目归属 | ||
571 | + description: 更新项目归属 | ||
572 | + operationId: projectBelong#updateProjectBelong | ||
573 | + parameters: | ||
574 | + - name: projectBelongId | ||
575 | + in: path | ||
576 | + description: 项目归属ID | ||
577 | + required: true | ||
578 | + type: integer | ||
579 | + - name: UpdateProjectBelongRequestBody | ||
580 | + in: body | ||
581 | + required: true | ||
582 | + schema: | ||
583 | + $ref: '#/definitions/ProjectBelongUpdateProjectBelongRequestBody' | ||
584 | + responses: | ||
585 | + "200": | ||
586 | + description: OK response. | ||
587 | + schema: | ||
588 | + $ref: '#/definitions/ProjectBelongUpdateProjectBelongResponseBody' | ||
589 | + schemes: | ||
590 | + - http | ||
591 | + delete: | ||
592 | + tags: | ||
593 | + - projectBelong | ||
594 | + summary: 移除项目归属 | ||
595 | + description: 移除项目归属 | ||
596 | + operationId: projectBelong#removeProjectBelong | ||
597 | + parameters: | ||
598 | + - name: projectBelongId | ||
599 | + in: path | ||
600 | + description: 项目归属ID | ||
601 | + required: true | ||
602 | + type: integer | ||
603 | + responses: | ||
604 | + "200": | ||
605 | + description: OK response. | ||
606 | + schema: | ||
607 | + $ref: '#/definitions/ProjectBelongRemoveProjectBelongResponseBody' | ||
608 | + schemes: | ||
609 | + - http | ||
610 | + /reject-task-records/{rejectTaskRecordId}: | ||
611 | + get: | ||
612 | + tags: | ||
613 | + - rejectTaskRecord | ||
614 | + summary: 返回关闭任务记录 | ||
615 | + description: 返回关闭任务记录 | ||
616 | + operationId: rejectTaskRecord#getRejectTaskRecord | ||
617 | + parameters: | ||
618 | + - name: rejectTaskRecordId | ||
619 | + in: path | ||
620 | + description: 关闭任务记录ID | ||
621 | + required: true | ||
622 | + type: integer | ||
623 | + responses: | ||
624 | + "200": | ||
625 | + description: OK response. | ||
626 | + schema: | ||
627 | + $ref: '#/definitions/RejectTaskRecordGetRejectTaskRecordResponseBody' | ||
628 | + schemes: | ||
629 | + - http | ||
630 | + /reject-task-records/search-reject-task-record: | ||
631 | + post: | ||
632 | + tags: | ||
633 | + - rejectTaskRecord | ||
634 | + summary: 搜索驳回任务记录 | ||
635 | + description: 搜索驳回任务记录 | ||
636 | + operationId: rejectTaskRecord#searchRejectTaskRecord | ||
637 | + parameters: | ||
638 | + - name: SearchRejectTaskRecordRequestBody | ||
639 | + in: body | ||
640 | + required: true | ||
641 | + schema: | ||
642 | + $ref: '#/definitions/RejectTaskRecordSearchRejectTaskRecordRequestBody' | ||
643 | + responses: | ||
644 | + "200": | ||
645 | + description: OK response. | ||
646 | + schema: | ||
647 | + $ref: '#/definitions/RejectTaskRecordSearchRejectTaskRecordResponseBody' | ||
648 | + schemes: | ||
649 | + - http | ||
271 | /statistics/person-su-money: | 650 | /statistics/person-su-money: |
272 | post: | 651 | post: |
273 | tags: | 652 | tags: |
@@ -316,96 +695,218 @@ paths: | @@ -316,96 +695,218 @@ paths: | ||
316 | description: 获取系统任务统计 | 695 | description: 获取系统任务统计 |
317 | operationId: statistics#systemTaskStatistics | 696 | operationId: statistics#systemTaskStatistics |
318 | parameters: | 697 | parameters: |
319 | - - name: SystemTaskStatisticsRequestBody | ||
320 | - in: body | ||
321 | - required: true | ||
322 | - schema: | ||
323 | - $ref: '#/definitions/StatisticsSystemTaskStatisticsRequestBody' | 698 | + - name: SystemTaskStatisticsRequestBody |
699 | + in: body | ||
700 | + required: true | ||
701 | + schema: | ||
702 | + $ref: '#/definitions/StatisticsSystemTaskStatisticsRequestBody' | ||
703 | + responses: | ||
704 | + "200": | ||
705 | + description: OK response. | ||
706 | + schema: | ||
707 | + $ref: '#/definitions/StatisticsSystemTaskStatisticsResponseBody' | ||
708 | + schemes: | ||
709 | + - http | ||
710 | + /su-money/exchange: | ||
711 | + post: | ||
712 | + tags: | ||
713 | + - suMoney | ||
714 | + summary: 素币兑换 | ||
715 | + description: 素币兑换 | ||
716 | + operationId: suMoney#exchangeSuMoney | ||
717 | + parameters: | ||
718 | + - name: ExchangeSuMoneyRequestBody | ||
719 | + in: body | ||
720 | + required: true | ||
721 | + schema: | ||
722 | + $ref: '#/definitions/SuMoneyExchangeSuMoneyRequestBody' | ||
723 | + responses: | ||
724 | + "200": | ||
725 | + description: OK response. | ||
726 | + schema: | ||
727 | + $ref: '#/definitions/SuMoneyExchangeSuMoneyResponseBody' | ||
728 | + schemes: | ||
729 | + - http | ||
730 | + /su-money/search-su-money-transaction-record: | ||
731 | + post: | ||
732 | + tags: | ||
733 | + - suMoney | ||
734 | + summary: 搜索素币事务记录 | ||
735 | + description: 搜索素币事务记录 | ||
736 | + operationId: suMoney#searchSuMoneyTransactionRecord | ||
737 | + parameters: | ||
738 | + - name: SearchSuMoneyTransactionRecordRequestBody | ||
739 | + in: body | ||
740 | + required: true | ||
741 | + schema: | ||
742 | + $ref: '#/definitions/SuMoneySearchSuMoneyTransactionRecordRequestBody' | ||
743 | + responses: | ||
744 | + "200": | ||
745 | + description: OK response. | ||
746 | + schema: | ||
747 | + $ref: '#/definitions/SuMoneySearchSuMoneyTransactionRecordResponseBody' | ||
748 | + schemes: | ||
749 | + - http | ||
750 | + /su-money/su-money-transaction-record-statistics: | ||
751 | + post: | ||
752 | + tags: | ||
753 | + - suMoney | ||
754 | + summary: 素币事务记录统计 | ||
755 | + description: 素币事务记录统计 | ||
756 | + operationId: suMoney#suMoneyTransactionRecordStatistics | ||
757 | + parameters: | ||
758 | + - name: SuMoneyTransactionRecordStatisticsRequestBody | ||
759 | + in: body | ||
760 | + required: true | ||
761 | + schema: | ||
762 | + $ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsRequestBody' | ||
763 | + responses: | ||
764 | + "200": | ||
765 | + description: OK response. | ||
766 | + schema: | ||
767 | + $ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsResponseBody' | ||
768 | + schemes: | ||
769 | + - http | ||
770 | + /su-money/su-money-transaction-records/{suMoneyTransactionRecordId}: | ||
771 | + get: | ||
772 | + tags: | ||
773 | + - suMoney | ||
774 | + summary: 返回素币事务记录 | ||
775 | + description: 返回素币事务记录 | ||
776 | + operationId: suMoney#getSuMoneyTransactionRecord | ||
777 | + parameters: | ||
778 | + - name: suMoneyTransactionRecordId | ||
779 | + in: path | ||
780 | + description: 素币事务记录ID | ||
781 | + required: true | ||
782 | + type: integer | ||
783 | + responses: | ||
784 | + "200": | ||
785 | + description: OK response. | ||
786 | + schema: | ||
787 | + $ref: '#/definitions/SuMoneyGetSuMoneyTransactionRecordResponseBody' | ||
788 | + schemes: | ||
789 | + - http | ||
790 | + /task-natures: | ||
791 | + get: | ||
792 | + tags: | ||
793 | + - taskNature | ||
794 | + summary: 返回任务性质列表 | ||
795 | + description: 返回任务性质列表 | ||
796 | + operationId: taskNature#listTaskNature | ||
797 | + parameters: | ||
798 | + - name: companyId | ||
799 | + in: query | ||
800 | + description: 公司ID | ||
801 | + required: false | ||
802 | + type: integer | ||
803 | + - name: taskNatureName | ||
804 | + in: query | ||
805 | + description: 任务性质名称 | ||
806 | + required: false | ||
807 | + type: string | ||
808 | + - name: taskNatureNameMatch | ||
809 | + in: query | ||
810 | + description: 任务性质名称匹配 | ||
811 | + required: false | ||
812 | + type: string | ||
813 | + - name: offset | ||
814 | + in: query | ||
815 | + description: 查询偏离量 | ||
816 | + required: false | ||
817 | + type: integer | ||
818 | + - name: limit | ||
819 | + in: query | ||
820 | + description: 查询限制 | ||
821 | + required: false | ||
822 | + type: integer | ||
324 | responses: | 823 | responses: |
325 | "200": | 824 | "200": |
326 | description: OK response. | 825 | description: OK response. |
327 | schema: | 826 | schema: |
328 | - $ref: '#/definitions/StatisticsSystemTaskStatisticsResponseBody' | 827 | + $ref: '#/definitions/TaskNatureListTaskNatureResponseBody' |
329 | schemes: | 828 | schemes: |
330 | - http | 829 | - http |
331 | - /su-money/exchange: | ||
332 | post: | 830 | post: |
333 | tags: | 831 | tags: |
334 | - - suMoney | ||
335 | - summary: 素币兑换 | ||
336 | - description: 素币兑换 | ||
337 | - operationId: suMoney#exchangeSuMoney | 832 | + - taskNature |
833 | + summary: 创建任务性质 | ||
834 | + description: 创建任务性质 | ||
835 | + operationId: taskNature#createTaskNature | ||
338 | parameters: | 836 | parameters: |
339 | - - name: ExchangeSuMoneyRequestBody | 837 | + - name: CreateTaskNatureRequestBody |
340 | in: body | 838 | in: body |
341 | required: true | 839 | required: true |
342 | schema: | 840 | schema: |
343 | - $ref: '#/definitions/SuMoneyExchangeSuMoneyRequestBody' | 841 | + $ref: '#/definitions/TaskNatureCreateTaskNatureRequestBody' |
344 | responses: | 842 | responses: |
345 | "200": | 843 | "200": |
346 | description: OK response. | 844 | description: OK response. |
347 | schema: | 845 | schema: |
348 | - $ref: '#/definitions/SuMoneyExchangeSuMoneyResponseBody' | 846 | + $ref: '#/definitions/TaskNatureCreateTaskNatureResponseBody' |
349 | schemes: | 847 | schemes: |
350 | - http | 848 | - http |
351 | - /su-money/search-su-money-transaction-record: | ||
352 | - post: | 849 | + /task-natures/{taskNatureId}: |
850 | + get: | ||
353 | tags: | 851 | tags: |
354 | - - suMoney | ||
355 | - summary: 搜索素币事务记录 | ||
356 | - description: 搜索素币事务记录 | ||
357 | - operationId: suMoney#searchSuMoneyTransactionRecord | 852 | + - taskNature |
853 | + summary: 返回任务性质 | ||
854 | + description: 返回任务性质 | ||
855 | + operationId: taskNature#getTaskNature | ||
358 | parameters: | 856 | parameters: |
359 | - - name: SearchSuMoneyTransactionRecordRequestBody | ||
360 | - in: body | 857 | + - name: taskNatureId |
858 | + in: path | ||
859 | + description: 任务性质ID | ||
361 | required: true | 860 | required: true |
362 | - schema: | ||
363 | - $ref: '#/definitions/SuMoneySearchSuMoneyTransactionRecordRequestBody' | 861 | + type: integer |
364 | responses: | 862 | responses: |
365 | "200": | 863 | "200": |
366 | description: OK response. | 864 | description: OK response. |
367 | schema: | 865 | schema: |
368 | - $ref: '#/definitions/SuMoneySearchSuMoneyTransactionRecordResponseBody' | 866 | + $ref: '#/definitions/TaskNatureGetTaskNatureResponseBody' |
369 | schemes: | 867 | schemes: |
370 | - http | 868 | - http |
371 | - /su-money/su-money-transaction-record-statistics: | ||
372 | - post: | 869 | + put: |
373 | tags: | 870 | tags: |
374 | - - suMoney | ||
375 | - summary: 素币事务记录统计 | ||
376 | - description: 素币事务记录统计 | ||
377 | - operationId: suMoney#suMoneyTransactionRecordStatistics | 871 | + - taskNature |
872 | + summary: 更新任务性质 | ||
873 | + description: 更新任务性质 | ||
874 | + operationId: taskNature#updateTaskNature | ||
378 | parameters: | 875 | parameters: |
379 | - - name: SuMoneyTransactionRecordStatisticsRequestBody | 876 | + - name: taskNatureId |
877 | + in: path | ||
878 | + description: 任务性质ID | ||
879 | + required: true | ||
880 | + type: integer | ||
881 | + - name: UpdateTaskNatureRequestBody | ||
380 | in: body | 882 | in: body |
381 | required: true | 883 | required: true |
382 | schema: | 884 | schema: |
383 | - $ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsRequestBody' | 885 | + $ref: '#/definitions/TaskNatureUpdateTaskNatureRequestBody' |
384 | responses: | 886 | responses: |
385 | "200": | 887 | "200": |
386 | description: OK response. | 888 | description: OK response. |
387 | schema: | 889 | schema: |
388 | - $ref: '#/definitions/SuMoneySuMoneyTransactionRecordStatisticsResponseBody' | 890 | + $ref: '#/definitions/TaskNatureUpdateTaskNatureResponseBody' |
389 | schemes: | 891 | schemes: |
390 | - http | 892 | - http |
391 | - /su-money/su-money-transaction-records/{suMoneyTransactionRecordId}: | ||
392 | - get: | 893 | + delete: |
393 | tags: | 894 | tags: |
394 | - - suMoney | ||
395 | - summary: 返回素币事务记录 | ||
396 | - description: 返回素币事务记录 | ||
397 | - operationId: suMoney#getSuMoneyTransactionRecord | 895 | + - taskNature |
896 | + summary: 移除任务性质 | ||
897 | + description: 移除任务性质 | ||
898 | + operationId: taskNature#removeTaskNature | ||
398 | parameters: | 899 | parameters: |
399 | - - name: suMoneyTransactionRecordId | 900 | + - name: taskNatureId |
400 | in: path | 901 | in: path |
401 | - description: 素币事务记录ID | 902 | + description: 任务性质ID |
402 | required: true | 903 | required: true |
403 | type: integer | 904 | type: integer |
404 | responses: | 905 | responses: |
405 | "200": | 906 | "200": |
406 | description: OK response. | 907 | description: OK response. |
407 | schema: | 908 | schema: |
408 | - $ref: '#/definitions/SuMoneyGetSuMoneyTransactionRecordResponseBody' | 909 | + $ref: '#/definitions/TaskNatureRemoveTaskNatureResponseBody' |
409 | schemes: | 910 | schemes: |
410 | - http | 911 | - http |
411 | /tasks: | 912 | /tasks: |
@@ -848,87 +1349,303 @@ definitions: | @@ -848,87 +1349,303 @@ definitions: | ||
848 | type: array | 1349 | type: array |
849 | items: | 1350 | items: |
850 | $ref: '#/definitions/configResponseBody' | 1351 | $ref: '#/definitions/configResponseBody' |
1352 | + CustomerValueCreateCustomerValueRequestBody: | ||
1353 | + title: CustomerValueCreateCustomerValueRequestBody | ||
1354 | + type: object | ||
1355 | + properties: | ||
1356 | + companyId: | ||
1357 | + type: integer | ||
1358 | + description: 公司ID | ||
1359 | + required: | ||
1360 | + - companyId | ||
1361 | + customerValueName: | ||
1362 | + type: string | ||
1363 | + description: 客户价值名称 | ||
1364 | + required: | ||
1365 | + - customerValueName | ||
1366 | + CustomerValueCreateCustomerValueResponseBody: | ||
1367 | + title: 'Mediatype identifier: CustomerValueCreateCustomerValueResponseBody' | ||
1368 | + type: object | ||
1369 | + properties: | ||
1370 | + customerValue: | ||
1371 | + $ref: '#/definitions/customerValueResponseBody' | ||
1372 | + CustomerValueGetCustomerValueResponseBody: | ||
1373 | + title: 'Mediatype identifier: CustomerValueGetCustomerValueResponseBody' | ||
1374 | + type: object | ||
1375 | + properties: | ||
1376 | + customerValue: | ||
1377 | + $ref: '#/definitions/customerValueResponseBody' | ||
1378 | + CustomerValueListCustomerValueResponseBody: | ||
1379 | + title: 'Mediatype identifier: CustomerValueListCustomerValueResponseBody' | ||
1380 | + type: object | ||
1381 | + properties: | ||
1382 | + count: | ||
1383 | + type: integer | ||
1384 | + description: 结果总数 | ||
1385 | + format: int64 | ||
1386 | + customerValues: | ||
1387 | + type: array | ||
1388 | + items: | ||
1389 | + $ref: '#/definitions/customerValueResponseBody' | ||
1390 | + CustomerValueRemoveCustomerValueResponseBody: | ||
1391 | + title: 'Mediatype identifier: CustomerValueRemoveCustomerValueResponseBody' | ||
1392 | + type: object | ||
1393 | + properties: | ||
1394 | + customerValue: | ||
1395 | + $ref: '#/definitions/customerValueResponseBody' | ||
1396 | + CustomerValueUpdateCustomerValueRequestBody: | ||
1397 | + title: CustomerValueUpdateCustomerValueRequestBody | ||
1398 | + type: object | ||
1399 | + properties: | ||
1400 | + customerValueName: | ||
1401 | + type: string | ||
1402 | + description: 客户价值名称 | ||
1403 | + CustomerValueUpdateCustomerValueResponseBody: | ||
1404 | + title: 'Mediatype identifier: CustomerValueUpdateCustomerValueResponseBody' | ||
1405 | + type: object | ||
1406 | + properties: | ||
1407 | + customerValue: | ||
1408 | + $ref: '#/definitions/customerValueResponseBody' | ||
851 | EmployeeCreateEmployeeRequestBody: | 1409 | EmployeeCreateEmployeeRequestBody: |
852 | title: EmployeeCreateEmployeeRequestBody | 1410 | title: EmployeeCreateEmployeeRequestBody |
853 | type: object | 1411 | type: object |
854 | properties: | 1412 | properties: |
855 | - employeeAccount: | ||
856 | - type: string | ||
857 | - description: 员工账号 | ||
858 | - employeeAvatarUrl: | ||
859 | - type: string | ||
860 | - description: 员工头像URL | ||
861 | - employeeName: | ||
862 | - type: string | ||
863 | - description: 员工姓名 | ||
864 | - uid: | 1413 | + employeeAccount: |
1414 | + type: string | ||
1415 | + description: 员工账号 | ||
1416 | + employeeAvatarUrl: | ||
1417 | + type: string | ||
1418 | + description: 员工头像URL | ||
1419 | + employeeName: | ||
1420 | + type: string | ||
1421 | + description: 员工姓名 | ||
1422 | + uid: | ||
1423 | + type: integer | ||
1424 | + description: 统一用户UID | ||
1425 | + required: | ||
1426 | + - uid | ||
1427 | + EmployeeCreateEmployeeResponseBody: | ||
1428 | + title: 'Mediatype identifier: EmployeeCreateEmployeeResponseBody' | ||
1429 | + type: object | ||
1430 | + properties: | ||
1431 | + employee: | ||
1432 | + $ref: '#/definitions/employeeResponseBody' | ||
1433 | + EmployeeGetEmployeeResponseBody: | ||
1434 | + title: 'Mediatype identifier: EmployeeGetEmployeeResponseBody' | ||
1435 | + type: object | ||
1436 | + properties: | ||
1437 | + employee: | ||
1438 | + $ref: '#/definitions/employeeResponseBody' | ||
1439 | + EmployeeListEmployeeResponseBody: | ||
1440 | + title: 'Mediatype identifier: EmployeeListEmployeeResponseBody' | ||
1441 | + type: object | ||
1442 | + properties: | ||
1443 | + count: | ||
1444 | + type: integer | ||
1445 | + description: 结果总数 | ||
1446 | + format: int64 | ||
1447 | + employees: | ||
1448 | + type: array | ||
1449 | + items: | ||
1450 | + $ref: '#/definitions/employeeResponseBody' | ||
1451 | + EmployeeRemoveEmployeeResponseBody: | ||
1452 | + title: 'Mediatype identifier: EmployeeRemoveEmployeeResponseBody' | ||
1453 | + type: object | ||
1454 | + properties: | ||
1455 | + employee: | ||
1456 | + $ref: '#/definitions/employeeResponseBody' | ||
1457 | + EmployeeUpdateEmployeeRequestBody: | ||
1458 | + title: EmployeeUpdateEmployeeRequestBody | ||
1459 | + type: object | ||
1460 | + properties: | ||
1461 | + employeeAccount: | ||
1462 | + type: string | ||
1463 | + description: 员工账号 | ||
1464 | + employeeAvatarUrl: | ||
1465 | + type: string | ||
1466 | + description: 员工头像URL | ||
1467 | + employeeName: | ||
1468 | + type: string | ||
1469 | + description: 员工姓名 | ||
1470 | + permissions: | ||
1471 | + type: array | ||
1472 | + items: | ||
1473 | + type: integer | ||
1474 | + format: int64 | ||
1475 | + description: 员工权限集合 | ||
1476 | + EmployeeUpdateEmployeeResponseBody: | ||
1477 | + title: 'Mediatype identifier: EmployeeUpdateEmployeeResponseBody' | ||
1478 | + type: object | ||
1479 | + properties: | ||
1480 | + employee: | ||
1481 | + $ref: '#/definitions/employeeResponseBody' | ||
1482 | + NotificationListSentNotificationResponseBody: | ||
1483 | + title: 'Mediatype identifier: NotificationListSentNotificationResponseBody' | ||
1484 | + type: object | ||
1485 | + properties: | ||
1486 | + count: | ||
1487 | + type: integer | ||
1488 | + description: 结果总数 | ||
1489 | + format: int64 | ||
1490 | + sentNotifications: | ||
1491 | + type: array | ||
1492 | + items: | ||
1493 | + $ref: '#/definitions/sentNotificationResponseBody' | ||
1494 | + NotificationReadAllUnReadSentNotificationRequestBody: | ||
1495 | + title: NotificationReadAllUnReadSentNotificationRequestBody | ||
1496 | + type: object | ||
1497 | + properties: | ||
1498 | + receiverId: | ||
1499 | + type: integer | ||
1500 | + description: 通知接收者Uid | ||
1501 | + required: | ||
1502 | + - receiverId | ||
1503 | + NotificationReadAllUnReadSentNotificationResponseBody: | ||
1504 | + title: 'Mediatype identifier: NotificationReadAllUnReadSentNotificationResponseBody' | ||
1505 | + type: object | ||
1506 | + properties: | ||
1507 | + readCount: | ||
1508 | + type: integer | ||
1509 | + description: 读取消息数 | ||
1510 | + format: int64 | ||
1511 | + NotificationReadSentNotificationRequestBody: | ||
1512 | + title: NotificationReadSentNotificationRequestBody | ||
1513 | + type: object | ||
1514 | + properties: | ||
1515 | + sentNotificationId: | ||
1516 | + type: integer | ||
1517 | + description: 发送出的通知ID | ||
1518 | + required: | ||
1519 | + - sentNotificationId | ||
1520 | + NotificationReadSentNotificationResponseBody: | ||
1521 | + title: 'Mediatype identifier: NotificationReadSentNotificationResponseBody' | ||
1522 | + type: object | ||
1523 | + properties: | ||
1524 | + sentNotification: | ||
1525 | + $ref: '#/definitions/sentNotificationResponseBody' | ||
1526 | + OffTaskRecordGetOffTaskRecordResponseBody: | ||
1527 | + title: 'Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody' | ||
1528 | + type: object | ||
1529 | + properties: | ||
1530 | + offTaskRecord: | ||
1531 | + $ref: '#/definitions/offTaskRecordResponseBody' | ||
1532 | + OffTaskRecordSearchOffTaskRecordRequestBody: | ||
1533 | + title: OffTaskRecordSearchOffTaskRecordRequestBody | ||
1534 | + type: object | ||
1535 | + properties: | ||
1536 | + companyId: | ||
1537 | + type: integer | ||
1538 | + description: 公司ID | ||
1539 | + required: | ||
1540 | + - companyId | ||
1541 | + customerValue: | ||
1542 | + type: array | ||
1543 | + items: | ||
1544 | + type: string | ||
1545 | + description: 客户价值 | ||
1546 | + limit: | ||
1547 | + type: integer | ||
1548 | + description: 查询限制 | ||
1549 | + format: int64 | ||
1550 | + offEndTime: | ||
1551 | + type: string | ||
1552 | + description: 关闭任务时间区间-截止时间 | ||
1553 | + format: datetime | ||
1554 | + offStartTime: | ||
1555 | + type: string | ||
1556 | + description: 关闭任务时间区间-开始时间 | ||
1557 | + format: datetime | ||
1558 | + offset: | ||
1559 | + type: integer | ||
1560 | + description: 查询偏离量 | ||
1561 | + format: int64 | ||
1562 | + taskContentMatch: | ||
1563 | + type: string | ||
1564 | + description: 任务内容匹配 | ||
1565 | + taskNature: | ||
1566 | + type: string | ||
1567 | + description: 任务性质 | ||
1568 | + taskType: | ||
1569 | + type: integer | ||
1570 | + description: 任务类型 | ||
1571 | + format: int64 | ||
1572 | + OffTaskRecordSearchOffTaskRecordResponseBody: | ||
1573 | + title: 'Mediatype identifier: OffTaskRecordSearchOffTaskRecordResponseBody' | ||
1574 | + type: object | ||
1575 | + properties: | ||
1576 | + count: | ||
1577 | + type: integer | ||
1578 | + description: 结果总数 | ||
1579 | + format: int64 | ||
1580 | + offTaskRecords: | ||
1581 | + type: array | ||
1582 | + items: | ||
1583 | + $ref: '#/definitions/offTaskRecordResponseBody' | ||
1584 | + ProjectBelongCreateProjectBelongRequestBody: | ||
1585 | + title: ProjectBelongCreateProjectBelongRequestBody | ||
1586 | + type: object | ||
1587 | + properties: | ||
1588 | + companyId: | ||
865 | type: integer | 1589 | type: integer |
866 | - description: 统一用户UID | 1590 | + description: 公司ID |
867 | required: | 1591 | required: |
868 | - - uid | ||
869 | - EmployeeCreateEmployeeResponseBody: | ||
870 | - title: 'Mediatype identifier: EmployeeCreateEmployeeResponseBody' | 1592 | + - companyId |
1593 | + projectBelongName: | ||
1594 | + type: string | ||
1595 | + description: 项目归属名称 | ||
1596 | + required: | ||
1597 | + - projectBelongName | ||
1598 | + ProjectBelongCreateProjectBelongResponseBody: | ||
1599 | + title: 'Mediatype identifier: ProjectBelongCreateProjectBelongResponseBody' | ||
871 | type: object | 1600 | type: object |
872 | properties: | 1601 | properties: |
873 | - employee: | ||
874 | - $ref: '#/definitions/employeeResponseBody' | ||
875 | - EmployeeGetEmployeeResponseBody: | ||
876 | - title: 'Mediatype identifier: EmployeeGetEmployeeResponseBody' | 1602 | + projectBelong: |
1603 | + $ref: '#/definitions/projectBelongResponseBody' | ||
1604 | + ProjectBelongGetProjectBelongResponseBody: | ||
1605 | + title: 'Mediatype identifier: ProjectBelongGetProjectBelongResponseBody' | ||
877 | type: object | 1606 | type: object |
878 | properties: | 1607 | properties: |
879 | - employee: | ||
880 | - $ref: '#/definitions/employeeResponseBody' | ||
881 | - EmployeeListEmployeeResponseBody: | ||
882 | - title: 'Mediatype identifier: EmployeeListEmployeeResponseBody' | 1608 | + projectBelong: |
1609 | + $ref: '#/definitions/projectBelongResponseBody' | ||
1610 | + ProjectBelongListProjectBelongResponseBody: | ||
1611 | + title: 'Mediatype identifier: ProjectBelongListProjectBelongResponseBody' | ||
883 | type: object | 1612 | type: object |
884 | properties: | 1613 | properties: |
885 | count: | 1614 | count: |
886 | type: integer | 1615 | type: integer |
887 | description: 结果总数 | 1616 | description: 结果总数 |
888 | format: int64 | 1617 | format: int64 |
889 | - employees: | 1618 | + projectBelongs: |
890 | type: array | 1619 | type: array |
891 | items: | 1620 | items: |
892 | - $ref: '#/definitions/employeeResponseBody' | ||
893 | - EmployeeRemoveEmployeeResponseBody: | ||
894 | - title: 'Mediatype identifier: EmployeeRemoveEmployeeResponseBody' | 1621 | + $ref: '#/definitions/projectBelongResponseBody' |
1622 | + ProjectBelongRemoveProjectBelongResponseBody: | ||
1623 | + title: 'Mediatype identifier: ProjectBelongRemoveProjectBelongResponseBody' | ||
895 | type: object | 1624 | type: object |
896 | properties: | 1625 | properties: |
897 | - employee: | ||
898 | - $ref: '#/definitions/employeeResponseBody' | ||
899 | - EmployeeUpdateEmployeeRequestBody: | ||
900 | - title: EmployeeUpdateEmployeeRequestBody | 1626 | + projectBelong: |
1627 | + $ref: '#/definitions/projectBelongResponseBody' | ||
1628 | + ProjectBelongUpdateProjectBelongRequestBody: | ||
1629 | + title: ProjectBelongUpdateProjectBelongRequestBody | ||
901 | type: object | 1630 | type: object |
902 | properties: | 1631 | properties: |
903 | - employeeAccount: | ||
904 | - type: string | ||
905 | - description: 员工账号 | ||
906 | - employeeAvatarUrl: | 1632 | + projectBelongName: |
907 | type: string | 1633 | type: string |
908 | - description: 员工头像URL | ||
909 | - employeeName: | ||
910 | - type: string | ||
911 | - description: 员工姓名 | ||
912 | - permissions: | ||
913 | - type: array | ||
914 | - items: | ||
915 | - type: integer | ||
916 | - format: int64 | ||
917 | - description: 员工权限集合 | ||
918 | - EmployeeUpdateEmployeeResponseBody: | ||
919 | - title: 'Mediatype identifier: EmployeeUpdateEmployeeResponseBody' | 1634 | + description: 项目归属名称 |
1635 | + ProjectBelongUpdateProjectBelongResponseBody: | ||
1636 | + title: 'Mediatype identifier: ProjectBelongUpdateProjectBelongResponseBody' | ||
920 | type: object | 1637 | type: object |
921 | properties: | 1638 | properties: |
922 | - employee: | ||
923 | - $ref: '#/definitions/employeeResponseBody' | ||
924 | - OffTaskRecordGetOffTaskRecordResponseBody: | ||
925 | - title: 'Mediatype identifier: OffTaskRecordGetOffTaskRecordResponseBody' | 1639 | + projectBelong: |
1640 | + $ref: '#/definitions/projectBelongResponseBody' | ||
1641 | + RejectTaskRecordGetRejectTaskRecordResponseBody: | ||
1642 | + title: 'Mediatype identifier: RejectTaskRecordGetRejectTaskRecordResponseBody' | ||
926 | type: object | 1643 | type: object |
927 | properties: | 1644 | properties: |
928 | - offTaskRecord: | ||
929 | - $ref: '#/definitions/offTaskRecordResponseBody' | ||
930 | - OffTaskRecordSearchOffTaskRecordRequestBody: | ||
931 | - title: OffTaskRecordSearchOffTaskRecordRequestBody | 1645 | + rejectTaskRecord: |
1646 | + $ref: '#/definitions/rejectTaskRecordResponseBody' | ||
1647 | + RejectTaskRecordSearchRejectTaskRecordRequestBody: | ||
1648 | + title: RejectTaskRecordSearchRejectTaskRecordRequestBody | ||
932 | type: object | 1649 | type: object |
933 | properties: | 1650 | properties: |
934 | companyId: | 1651 | companyId: |
@@ -939,46 +1656,48 @@ definitions: | @@ -939,46 +1656,48 @@ definitions: | ||
939 | customerValue: | 1656 | customerValue: |
940 | type: array | 1657 | type: array |
941 | items: | 1658 | items: |
942 | - type: string | 1659 | + type: integer |
1660 | + format: int64 | ||
943 | description: 客户价值 | 1661 | description: 客户价值 |
944 | limit: | 1662 | limit: |
945 | type: integer | 1663 | type: integer |
946 | description: 查询限制 | 1664 | description: 查询限制 |
947 | format: int64 | 1665 | format: int64 |
948 | - offEndTime: | ||
949 | - type: string | ||
950 | - description: 关闭任务时间区间-截止时间 | ||
951 | - format: datetime | ||
952 | - offStartTime: | ||
953 | - type: string | ||
954 | - description: 关闭任务时间区间-开始时间 | ||
955 | - format: datetime | ||
956 | offset: | 1666 | offset: |
957 | type: integer | 1667 | type: integer |
958 | description: 查询偏离量 | 1668 | description: 查询偏离量 |
959 | format: int64 | 1669 | format: int64 |
1670 | + rejectEndTime: | ||
1671 | + type: string | ||
1672 | + description: 驳回任务时间区间-截止时间 | ||
1673 | + format: datetime | ||
1674 | + rejectStartTime: | ||
1675 | + type: string | ||
1676 | + description: 驳回任务时间区间-开始时间 | ||
1677 | + format: datetime | ||
960 | taskContentMatch: | 1678 | taskContentMatch: |
961 | type: string | 1679 | type: string |
962 | description: 任务内容匹配 | 1680 | description: 任务内容匹配 |
963 | taskNature: | 1681 | taskNature: |
964 | - type: string | 1682 | + type: integer |
965 | description: 任务性质 | 1683 | description: 任务性质 |
1684 | + format: int64 | ||
966 | taskType: | 1685 | taskType: |
967 | type: integer | 1686 | type: integer |
968 | description: 任务类型 | 1687 | description: 任务类型 |
969 | format: int64 | 1688 | format: int64 |
970 | - OffTaskRecordSearchOffTaskRecordResponseBody: | ||
971 | - title: 'Mediatype identifier: OffTaskRecordSearchOffTaskRecordResponseBody' | 1689 | + RejectTaskRecordSearchRejectTaskRecordResponseBody: |
1690 | + title: 'Mediatype identifier: RejectTaskRecordSearchRejectTaskRecordResponseBody' | ||
972 | type: object | 1691 | type: object |
973 | properties: | 1692 | properties: |
974 | count: | 1693 | count: |
975 | type: integer | 1694 | type: integer |
976 | description: 结果总数 | 1695 | description: 结果总数 |
977 | format: int64 | 1696 | format: int64 |
978 | - offTaskRecords: | 1697 | + rejectTaskRecords: |
979 | type: array | 1698 | type: array |
980 | items: | 1699 | items: |
981 | - $ref: '#/definitions/offTaskRecordResponseBody' | 1700 | + $ref: '#/definitions/rejectTaskRecordResponseBody' |
982 | StatisticsPersonSuMoneyStatisticsRequestBody: | 1701 | StatisticsPersonSuMoneyStatisticsRequestBody: |
983 | title: StatisticsPersonSuMoneyStatisticsRequestBody | 1702 | title: StatisticsPersonSuMoneyStatisticsRequestBody |
984 | type: object | 1703 | type: object |
@@ -992,8 +1711,18 @@ definitions: | @@ -992,8 +1711,18 @@ definitions: | ||
992 | title: 'Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody' | 1711 | title: 'Mediatype identifier: StatisticsPersonSuMoneyStatisticsResponseBody' |
993 | type: object | 1712 | type: object |
994 | properties: | 1713 | properties: |
995 | - personSuMoneyStatistics: | ||
996 | - $ref: '#/definitions/personSuMoneyStatisticsResponseBody' | 1714 | + currentSuMoney: |
1715 | + type: number | ||
1716 | + description: 当前素币数 | ||
1717 | + format: double | ||
1718 | + incomeSuMoney: | ||
1719 | + type: number | ||
1720 | + description: 任务奖励素币总数 | ||
1721 | + format: double | ||
1722 | + incomeSuMoneyOfYesterday: | ||
1723 | + type: number | ||
1724 | + description: 昨日任务奖励素币数 | ||
1725 | + format: double | ||
997 | StatisticsPersonTaskStatisticsRequestBody: | 1726 | StatisticsPersonTaskStatisticsRequestBody: |
998 | title: StatisticsPersonTaskStatisticsRequestBody | 1727 | title: StatisticsPersonTaskStatisticsRequestBody |
999 | type: object | 1728 | type: object |
@@ -1022,8 +1751,18 @@ definitions: | @@ -1022,8 +1751,18 @@ definitions: | ||
1022 | title: 'Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody' | 1751 | title: 'Mediatype identifier: StatisticsSystemTaskStatisticsResponseBody' |
1023 | type: object | 1752 | type: object |
1024 | properties: | 1753 | properties: |
1025 | - systemTaskStatistics: | ||
1026 | - $ref: '#/definitions/systemTaskStatisticsResponseBody' | 1754 | + completed: |
1755 | + type: integer | ||
1756 | + description: 已完成的任务数 | ||
1757 | + format: int64 | ||
1758 | + released: | ||
1759 | + type: integer | ||
1760 | + description: 发布的任务数 | ||
1761 | + format: int64 | ||
1762 | + underway: | ||
1763 | + type: integer | ||
1764 | + description: 进行中的任务数 | ||
1765 | + format: int64 | ||
1027 | SuMoneyExchangeSuMoneyRequestBody: | 1766 | SuMoneyExchangeSuMoneyRequestBody: |
1028 | title: SuMoneyExchangeSuMoneyRequestBody | 1767 | title: SuMoneyExchangeSuMoneyRequestBody |
1029 | type: object | 1768 | type: object |
@@ -1077,7 +1816,7 @@ definitions: | @@ -1077,7 +1816,7 @@ definitions: | ||
1077 | format: int64 | 1816 | format: int64 |
1078 | recordType: | 1817 | recordType: |
1079 | type: integer | 1818 | type: integer |
1080 | - description: 记录类型(1兑换,2任务奖励) | 1819 | + description: 记录类型(1兑换,2任务奖励,3增加,4扣除) |
1081 | required: | 1820 | required: |
1082 | - recordType | 1821 | - recordType |
1083 | transactionEndTime: | 1822 | transactionEndTime: |
@@ -1319,6 +2058,63 @@ definitions: | @@ -1319,6 +2058,63 @@ definitions: | ||
1319 | type: array | 2058 | type: array |
1320 | items: | 2059 | items: |
1321 | $ref: '#/definitions/taskResponseBody' | 2060 | $ref: '#/definitions/taskResponseBody' |
2061 | + TaskNatureCreateTaskNatureRequestBody: | ||
2062 | + title: TaskNatureCreateTaskNatureRequestBody | ||
2063 | + type: object | ||
2064 | + properties: | ||
2065 | + companyId: | ||
2066 | + type: integer | ||
2067 | + description: 公司ID | ||
2068 | + required: | ||
2069 | + - companyId | ||
2070 | + taskNatureName: | ||
2071 | + type: string | ||
2072 | + description: 任务性质名称 | ||
2073 | + required: | ||
2074 | + - taskNatureName | ||
2075 | + TaskNatureCreateTaskNatureResponseBody: | ||
2076 | + title: 'Mediatype identifier: TaskNatureCreateTaskNatureResponseBody' | ||
2077 | + type: object | ||
2078 | + properties: | ||
2079 | + taskNature: | ||
2080 | + $ref: '#/definitions/taskNatureResponseBody' | ||
2081 | + TaskNatureGetTaskNatureResponseBody: | ||
2082 | + title: 'Mediatype identifier: TaskNatureGetTaskNatureResponseBody' | ||
2083 | + type: object | ||
2084 | + properties: | ||
2085 | + taskNature: | ||
2086 | + $ref: '#/definitions/taskNatureResponseBody' | ||
2087 | + TaskNatureListTaskNatureResponseBody: | ||
2088 | + title: 'Mediatype identifier: TaskNatureListTaskNatureResponseBody' | ||
2089 | + type: object | ||
2090 | + properties: | ||
2091 | + count: | ||
2092 | + type: integer | ||
2093 | + description: 结果总数 | ||
2094 | + format: int64 | ||
2095 | + taskNatures: | ||
2096 | + type: array | ||
2097 | + items: | ||
2098 | + $ref: '#/definitions/taskNatureResponseBody' | ||
2099 | + TaskNatureRemoveTaskNatureResponseBody: | ||
2100 | + title: 'Mediatype identifier: TaskNatureRemoveTaskNatureResponseBody' | ||
2101 | + type: object | ||
2102 | + properties: | ||
2103 | + taskNature: | ||
2104 | + $ref: '#/definitions/taskNatureResponseBody' | ||
2105 | + TaskNatureUpdateTaskNatureRequestBody: | ||
2106 | + title: TaskNatureUpdateTaskNatureRequestBody | ||
2107 | + type: object | ||
2108 | + properties: | ||
2109 | + taskNatureName: | ||
2110 | + type: string | ||
2111 | + description: 任务性质名称 | ||
2112 | + TaskNatureUpdateTaskNatureResponseBody: | ||
2113 | + title: 'Mediatype identifier: TaskNatureUpdateTaskNatureResponseBody' | ||
2114 | + type: object | ||
2115 | + properties: | ||
2116 | + taskNature: | ||
2117 | + $ref: '#/definitions/taskNatureResponseBody' | ||
1322 | TaskOffTaskRequestBody: | 2118 | TaskOffTaskRequestBody: |
1323 | title: TaskOffTaskRequestBody | 2119 | title: TaskOffTaskRequestBody |
1324 | type: object | 2120 | type: object |
@@ -1474,6 +2270,21 @@ definitions: | @@ -1474,6 +2270,21 @@ definitions: | ||
1474 | type: integer | 2270 | type: integer |
1475 | description: 任务领取人UID | 2271 | description: 任务领取人UID |
1476 | format: int64 | 2272 | format: int64 |
2273 | + sortByAcceptanceTime: | ||
2274 | + type: string | ||
2275 | + description: 按验收方验收时间排序(ASC,DESC) | ||
2276 | + sortByCompleteTime: | ||
2277 | + type: string | ||
2278 | + description: 按完成任务操作时间排序(ASC,DESC) | ||
2279 | + sortByCreateTime: | ||
2280 | + type: string | ||
2281 | + description: 按创建任务时间排序(ASC,DESC) | ||
2282 | + sortByReceiveTime: | ||
2283 | + type: string | ||
2284 | + description: 按领取任务时间排序(ASC,DESC) | ||
2285 | + sortByReleaseTime: | ||
2286 | + type: string | ||
2287 | + description: 按发布任务时间排序(ASC,DESC) | ||
1477 | sponsor: | 2288 | sponsor: |
1478 | type: integer | 2289 | type: integer |
1479 | description: 任务发起者UID | 2290 | description: 任务发起者UID |
@@ -1553,6 +2364,31 @@ definitions: | @@ -1553,6 +2364,31 @@ definitions: | ||
1553 | properties: | 2364 | properties: |
1554 | task: | 2365 | task: |
1555 | $ref: '#/definitions/taskResponseBody' | 2366 | $ref: '#/definitions/taskResponseBody' |
2367 | + UnifiedUserCenterSyncEmployeeCallbackRequestBody: | ||
2368 | + title: UnifiedUserCenterSyncEmployeeCallbackRequestBody | ||
2369 | + type: object | ||
2370 | + properties: | ||
2371 | + action: | ||
2372 | + type: string | ||
2373 | + description: add:添加,edit:编辑,delete删除,batchDelete:批量删除,setCompanyCharge:更改公司主管,batchForbid:批量禁用用户,batchRemove:批量更改用户部门,changeAdmin换管理员 | ||
2374 | + required: | ||
2375 | + - action | ||
2376 | + data: | ||
2377 | + type: string | ||
2378 | + description: 具体的对象JSON数据 | ||
2379 | + required: | ||
2380 | + - data | ||
2381 | + module: | ||
2382 | + type: string | ||
2383 | + description: position:职位,department:部门,employee:员工,company:公司,profile员工档案 | ||
2384 | + required: | ||
2385 | + - module | ||
2386 | + UnifiedUserCenterSyncEmployeeCallbackResponseBody: | ||
2387 | + title: 'Mediatype identifier: UnifiedUserCenterSyncEmployeeCallbackResponseBody' | ||
2388 | + type: object | ||
2389 | + properties: | ||
2390 | + employee: | ||
2391 | + $ref: '#/definitions/employeeResponseBody' | ||
1556 | bidInfoResponseBody: | 2392 | bidInfoResponseBody: |
1557 | title: bidInfoResponseBody | 2393 | title: bidInfoResponseBody |
1558 | type: object | 2394 | type: object |
@@ -1607,6 +2443,26 @@ definitions: | @@ -1607,6 +2443,26 @@ definitions: | ||
1607 | required: | 2443 | required: |
1608 | - name | 2444 | - name |
1609 | description: 配置字典 | 2445 | description: 配置字典 |
2446 | + customerValueResponseBody: | ||
2447 | + title: customerValueResponseBody | ||
2448 | + type: object | ||
2449 | + properties: | ||
2450 | + companyId: | ||
2451 | + type: integer | ||
2452 | + description: 公司ID | ||
2453 | + required: | ||
2454 | + - companyId | ||
2455 | + customerValueId: | ||
2456 | + type: integer | ||
2457 | + description: 客户价值ID | ||
2458 | + required: | ||
2459 | + - customerValueId | ||
2460 | + customerValueName: | ||
2461 | + type: string | ||
2462 | + description: 客户价值名称 | ||
2463 | + required: | ||
2464 | + - customerValueName | ||
2465 | + description: 客户价值 | ||
1610 | employeeInfoRequestBody: | 2466 | employeeInfoRequestBody: |
1611 | title: employeeInfoRequestBody | 2467 | title: employeeInfoRequestBody |
1612 | type: object | 2468 | type: object |
@@ -1622,6 +2478,9 @@ definitions: | @@ -1622,6 +2478,9 @@ definitions: | ||
1622 | description: 员工姓名 | 2478 | description: 员工姓名 |
1623 | required: | 2479 | required: |
1624 | - employeeName | 2480 | - employeeName |
2481 | + isPrincipal: | ||
2482 | + type: boolean | ||
2483 | + description: 是否公司负责人 | ||
1625 | uid: | 2484 | uid: |
1626 | type: integer | 2485 | type: integer |
1627 | description: 统一用户UID | 2486 | description: 统一用户UID |
@@ -1643,6 +2502,9 @@ definitions: | @@ -1643,6 +2502,9 @@ definitions: | ||
1643 | description: 员工姓名 | 2502 | description: 员工姓名 |
1644 | required: | 2503 | required: |
1645 | - employeeName | 2504 | - employeeName |
2505 | + isPrincipal: | ||
2506 | + type: boolean | ||
2507 | + description: 是否公司负责人 | ||
1646 | uid: | 2508 | uid: |
1647 | type: integer | 2509 | type: integer |
1648 | description: 统一用户UID | 2510 | description: 统一用户UID |
@@ -1683,6 +2545,41 @@ definitions: | @@ -1683,6 +2545,41 @@ definitions: | ||
1683 | required: | 2545 | required: |
1684 | - suMoney | 2546 | - suMoney |
1685 | description: 员工 | 2547 | description: 员工 |
2548 | + notificationResponseBody: | ||
2549 | + title: notificationResponseBody | ||
2550 | + type: object | ||
2551 | + properties: | ||
2552 | + externalResource: | ||
2553 | + type: string | ||
2554 | + description: 外部资源引用 | ||
2555 | + required: | ||
2556 | + - externalResource | ||
2557 | + notificationContent: | ||
2558 | + type: string | ||
2559 | + description: 通知内容 | ||
2560 | + required: | ||
2561 | + - notificationContent | ||
2562 | + notificationId: | ||
2563 | + type: integer | ||
2564 | + description: 通知ID | ||
2565 | + required: | ||
2566 | + - notificationId | ||
2567 | + notificationTime: | ||
2568 | + type: string | ||
2569 | + description: 通知时间 | ||
2570 | + required: | ||
2571 | + - notificationTime | ||
2572 | + notificationTitle: | ||
2573 | + type: string | ||
2574 | + description: 通知标题 | ||
2575 | + required: | ||
2576 | + - notificationTitle | ||
2577 | + notificationType: | ||
2578 | + type: integer | ||
2579 | + description: 通知类型 | ||
2580 | + required: | ||
2581 | + - notificationType | ||
2582 | + description: 通知 | ||
1686 | offTaskRecordResponseBody: | 2583 | offTaskRecordResponseBody: |
1687 | title: offTaskRecordResponseBody | 2584 | title: offTaskRecordResponseBody |
1688 | type: object | 2585 | type: object |
@@ -1707,21 +2604,6 @@ definitions: | @@ -1707,21 +2604,6 @@ definitions: | ||
1707 | task: | 2604 | task: |
1708 | $ref: '#/definitions/taskResponseBody' | 2605 | $ref: '#/definitions/taskResponseBody' |
1709 | description: 关闭任务记录 | 2606 | description: 关闭任务记录 |
1710 | - personSuMoneyStatisticsResponseBody: | ||
1711 | - title: personSuMoneyStatisticsResponseBody | ||
1712 | - type: object | ||
1713 | - properties: | ||
1714 | - currentSuMoney: | ||
1715 | - type: number | ||
1716 | - description: 当前素币 | ||
1717 | - required: | ||
1718 | - - currentSuMoney | ||
1719 | - incomeSuMoneyOfYesterday: | ||
1720 | - type: number | ||
1721 | - description: 昨日收益 | ||
1722 | - required: | ||
1723 | - - incomeSuMoneyOfYesterday | ||
1724 | - description: 个人素币统计 | ||
1725 | personTaskStatisticsResponseBody: | 2607 | personTaskStatisticsResponseBody: |
1726 | title: personTaskStatisticsResponseBody | 2608 | title: personTaskStatisticsResponseBody |
1727 | type: object | 2609 | type: object |
@@ -1777,6 +2659,26 @@ definitions: | @@ -1777,6 +2659,26 @@ definitions: | ||
1777 | required: | 2659 | required: |
1778 | - underwayAsSponsor | 2660 | - underwayAsSponsor |
1779 | description: 个人任务统计 | 2661 | description: 个人任务统计 |
2662 | + projectBelongResponseBody: | ||
2663 | + title: projectBelongResponseBody | ||
2664 | + type: object | ||
2665 | + properties: | ||
2666 | + companyId: | ||
2667 | + type: integer | ||
2668 | + description: 公司ID | ||
2669 | + required: | ||
2670 | + - companyId | ||
2671 | + projectBelongId: | ||
2672 | + type: integer | ||
2673 | + description: 项目归属ID | ||
2674 | + required: | ||
2675 | + - projectBelongId | ||
2676 | + projectBelongName: | ||
2677 | + type: string | ||
2678 | + description: 项目归属名称 | ||
2679 | + required: | ||
2680 | + - projectBelongName | ||
2681 | + description: 项目归属 | ||
1780 | referenceResourceItemRequestBody: | 2682 | referenceResourceItemRequestBody: |
1781 | title: referenceResourceItemRequestBody | 2683 | title: referenceResourceItemRequestBody |
1782 | type: object | 2684 | type: object |
@@ -1879,6 +2781,30 @@ definitions: | @@ -1879,6 +2781,30 @@ definitions: | ||
1879 | required: | 2781 | required: |
1880 | - referenceResourceType | 2782 | - referenceResourceType |
1881 | description: 引用资源 | 2783 | description: 引用资源 |
2784 | + rejectTaskRecordResponseBody: | ||
2785 | + title: rejectTaskRecordResponseBody | ||
2786 | + type: object | ||
2787 | + properties: | ||
2788 | + createTime: | ||
2789 | + type: string | ||
2790 | + description: 创建时间 | ||
2791 | + required: | ||
2792 | + - createTime | ||
2793 | + operator: | ||
2794 | + $ref: '#/definitions/employeeInfoResponseBody' | ||
2795 | + rejectReason: | ||
2796 | + type: string | ||
2797 | + description: 驳回理由 | ||
2798 | + required: | ||
2799 | + - rejectReason | ||
2800 | + rejectTaskRecordId: | ||
2801 | + type: integer | ||
2802 | + description: 驳回任务记录ID | ||
2803 | + required: | ||
2804 | + - rejectTaskRecordId | ||
2805 | + task: | ||
2806 | + $ref: '#/definitions/taskResponseBody' | ||
2807 | + description: 驳回任务记录 | ||
1882 | robInfoResponseBody: | 2808 | robInfoResponseBody: |
1883 | title: robInfoResponseBody | 2809 | title: robInfoResponseBody |
1884 | type: object | 2810 | type: object |
@@ -1891,6 +2817,30 @@ definitions: | @@ -1891,6 +2817,30 @@ definitions: | ||
1891 | receiver: | 2817 | receiver: |
1892 | $ref: '#/definitions/employeeInfoResponseBody' | 2818 | $ref: '#/definitions/employeeInfoResponseBody' |
1893 | description: 抢单任务信息 | 2819 | description: 抢单任务信息 |
2820 | + sentNotificationResponseBody: | ||
2821 | + title: sentNotificationResponseBody | ||
2822 | + type: object | ||
2823 | + properties: | ||
2824 | + isRead: | ||
2825 | + type: boolean | ||
2826 | + description: 是否已读 | ||
2827 | + required: | ||
2828 | + - isRead | ||
2829 | + notification: | ||
2830 | + $ref: '#/definitions/notificationResponseBody' | ||
2831 | + readTime: | ||
2832 | + type: string | ||
2833 | + description: 通知读取时间 | ||
2834 | + required: | ||
2835 | + - readTime | ||
2836 | + receiver: | ||
2837 | + $ref: '#/definitions/employeeInfoResponseBody' | ||
2838 | + sentNotificationId: | ||
2839 | + type: integer | ||
2840 | + description: 发送出的通知ID | ||
2841 | + required: | ||
2842 | + - sentNotificationId | ||
2843 | + description: 发送出的通知 | ||
1894 | solveScoreItemRequestBody: | 2844 | solveScoreItemRequestBody: |
1895 | title: solveScoreItemRequestBody | 2845 | title: solveScoreItemRequestBody |
1896 | type: object | 2846 | type: object |
@@ -1955,7 +2905,7 @@ definitions: | @@ -1955,7 +2905,7 @@ definitions: | ||
1955 | - recordDescription | 2905 | - recordDescription |
1956 | recordType: | 2906 | recordType: |
1957 | type: integer | 2907 | type: integer |
1958 | - description: 记录类型(1兑换,2任务奖励) | 2908 | + description: 记录类型(1兑换,2任务奖励,3增加,4扣除) |
1959 | required: | 2909 | required: |
1960 | - recordType | 2910 | - recordType |
1961 | suMoney: | 2911 | suMoney: |
@@ -1974,24 +2924,26 @@ definitions: | @@ -1974,24 +2924,26 @@ definitions: | ||
1974 | required: | 2924 | required: |
1975 | - suMoneyTransactionRecordId | 2925 | - suMoneyTransactionRecordId |
1976 | description: 素币事务记录 | 2926 | description: 素币事务记录 |
1977 | - systemTaskStatisticsResponseBody: | ||
1978 | - title: systemTaskStatisticsResponseBody | 2927 | + taskNatureResponseBody: |
2928 | + title: taskNatureResponseBody | ||
1979 | type: object | 2929 | type: object |
1980 | properties: | 2930 | properties: |
1981 | - completed: | ||
1982 | - type: integer | ||
1983 | - description: 系统已完成任务 | ||
1984 | - format: int64 | ||
1985 | - released: | 2931 | + companyId: |
1986 | type: integer | 2932 | type: integer |
1987 | - description: 系统已发布任务 | 2933 | + description: 公司ID |
1988 | required: | 2934 | required: |
1989 | - - released | ||
1990 | - underway: | 2935 | + - companyId |
2936 | + taskNatureId: | ||
1991 | type: integer | 2937 | type: integer |
1992 | - description: 系统进行中任务 | ||
1993 | - format: int64 | ||
1994 | - description: 系统任务统计 | 2938 | + description: 任务性质ID |
2939 | + required: | ||
2940 | + - taskNatureId | ||
2941 | + taskNatureName: | ||
2942 | + type: string | ||
2943 | + description: 任务性质名称 | ||
2944 | + required: | ||
2945 | + - taskNatureName | ||
2946 | + description: 任务性质 | ||
1995 | taskPercentageItemRequestBody: | 2947 | taskPercentageItemRequestBody: |
1996 | title: taskPercentageItemRequestBody | 2948 | title: taskPercentageItemRequestBody |
1997 | type: object | 2949 | type: object |
@@ -2045,6 +2997,10 @@ definitions: | @@ -2045,6 +2997,10 @@ definitions: | ||
2045 | description: 验收标准 | 2997 | description: 验收标准 |
2046 | required: | 2998 | required: |
2047 | - acceptanceStandard | 2999 | - acceptanceStandard |
3000 | + acceptanceTime: | ||
3001 | + type: string | ||
3002 | + description: 验收方验收时间 | ||
3003 | + format: datetime | ||
2048 | bidInfo: | 3004 | bidInfo: |
2049 | $ref: '#/definitions/bidInfoResponseBody' | 3005 | $ref: '#/definitions/bidInfoResponseBody' |
2050 | companyId: | 3006 | companyId: |
@@ -2052,18 +3008,23 @@ definitions: | @@ -2052,18 +3008,23 @@ definitions: | ||
2052 | description: 公司ID | 3008 | description: 公司ID |
2053 | required: | 3009 | required: |
2054 | - companyId | 3010 | - companyId |
3011 | + completeTime: | ||
3012 | + type: string | ||
3013 | + description: 完成任务操作时间 | ||
3014 | + format: datetime | ||
2055 | createTime: | 3015 | createTime: |
2056 | type: string | 3016 | type: string |
2057 | description: 创建时间 | 3017 | description: 创建时间 |
2058 | required: | 3018 | required: |
2059 | - createTime | 3019 | - createTime |
2060 | - customerValue: | 3020 | + customerValues: |
2061 | type: array | 3021 | type: array |
2062 | items: | 3022 | items: |
2063 | - type: string | 3023 | + type: integer |
3024 | + format: int64 | ||
2064 | description: 客户价值列表 | 3025 | description: 客户价值列表 |
2065 | required: | 3026 | required: |
2066 | - - customerValue | 3027 | + - customerValues |
2067 | isRewardTake: | 3028 | isRewardTake: |
2068 | type: boolean | 3029 | type: boolean |
2069 | description: 是否悬赏任务 | 3030 | description: 是否悬赏任务 |
@@ -2072,11 +3033,23 @@ definitions: | @@ -2072,11 +3033,23 @@ definitions: | ||
2072 | items: | 3033 | items: |
2073 | $ref: '#/definitions/employeeInfoResponseBody' | 3034 | $ref: '#/definitions/employeeInfoResponseBody' |
2074 | description: 任务参与者列表 | 3035 | description: 任务参与者列表 |
3036 | + projectBelong: | ||
3037 | + type: array | ||
3038 | + items: | ||
3039 | + type: integer | ||
3040 | + format: int64 | ||
3041 | + description: 项目归属 | ||
3042 | + required: | ||
3043 | + - projectBelong | ||
3044 | + receiveTime: | ||
3045 | + type: string | ||
3046 | + description: 领取任务时间 | ||
3047 | + format: datetime | ||
2075 | referenceResource: | 3048 | referenceResource: |
2076 | $ref: '#/definitions/referenceResourceResponseBody' | 3049 | $ref: '#/definitions/referenceResourceResponseBody' |
2077 | releaseTime: | 3050 | releaseTime: |
2078 | type: string | 3051 | type: string |
2079 | - description: 发布时间 | 3052 | + description: 发布任务时间 |
2080 | format: datetime | 3053 | format: datetime |
2081 | robInfo: | 3054 | robInfo: |
2082 | $ref: '#/definitions/robInfoResponseBody' | 3055 | $ref: '#/definitions/robInfoResponseBody' |
@@ -2111,7 +3084,7 @@ definitions: | @@ -2111,7 +3084,7 @@ definitions: | ||
2111 | required: | 3084 | required: |
2112 | - taskName | 3085 | - taskName |
2113 | taskNature: | 3086 | taskNature: |
2114 | - type: string | 3087 | + type: integer |
2115 | description: 任务性质 | 3088 | description: 任务性质 |
2116 | required: | 3089 | required: |
2117 | - taskNature | 3090 | - taskNature |
@@ -2127,12 +3100,12 @@ definitions: | @@ -2127,12 +3100,12 @@ definitions: | ||
2127 | description: 任务图片URL列表 | 3100 | description: 任务图片URL列表 |
2128 | taskStatus: | 3101 | taskStatus: |
2129 | type: integer | 3102 | type: integer |
2130 | - description: 任务状态 | 3103 | + description: 任务状态(1.待发布2.待领取3.进行中4.待验收5.已完成6.关闭7.待确认) |
2131 | required: | 3104 | required: |
2132 | - taskStatus | 3105 | - taskStatus |
2133 | taskType: | 3106 | taskType: |
2134 | type: integer | 3107 | type: integer |
2135 | - description: 任务类型 | 3108 | + description: 任务类型(1.抢单任务2.竞标任务3.指派任务) |
2136 | required: | 3109 | required: |
2137 | - taskType | 3110 | - taskType |
2138 | description: 任务 | 3111 | description: 任务 |
@@ -100,7 +100,6 @@ func (repository *CustomerValueRepository) Find(queryOptions map[string]interfac | @@ -100,7 +100,6 @@ func (repository *CustomerValueRepository) Find(queryOptions map[string]interfac | ||
100 | } else { | 100 | } else { |
101 | customerValues = append(customerValues, customerValue) | 101 | customerValues = append(customerValues, customerValue) |
102 | } | 102 | } |
103 | - customerValues = append(customerValues, &domain.CustomerValue{}) | ||
104 | } | 103 | } |
105 | return int64(count), customerValues, nil | 104 | return int64(count), customerValues, nil |
106 | } | 105 | } |
@@ -100,7 +100,6 @@ func (repository *ProjectBelongRepository) Find(queryOptions map[string]interfac | @@ -100,7 +100,6 @@ func (repository *ProjectBelongRepository) Find(queryOptions map[string]interfac | ||
100 | } else { | 100 | } else { |
101 | projectBelongs = append(projectBelongs, projectBelong) | 101 | projectBelongs = append(projectBelongs, projectBelong) |
102 | } | 102 | } |
103 | - projectBelongs = append(projectBelongs, &domain.ProjectBelong{}) | ||
104 | } | 103 | } |
105 | return int64(count), projectBelongs, nil | 104 | return int64(count), projectBelongs, nil |
106 | } | 105 | } |
@@ -100,7 +100,6 @@ func (repository *TaskNatureRepository) Find(queryOptions map[string]interface{} | @@ -100,7 +100,6 @@ func (repository *TaskNatureRepository) Find(queryOptions map[string]interface{} | ||
100 | } else { | 100 | } else { |
101 | taskNatures = append(taskNatures, taskNature) | 101 | taskNatures = append(taskNatures, taskNature) |
102 | } | 102 | } |
103 | - taskNatures = append(taskNatures, &domain.TaskNature{}) | ||
104 | } | 103 | } |
105 | return int64(count), taskNatures, nil | 104 | return int64(count), taskNatures, nil |
106 | } | 105 | } |
-
请 注册 或 登录 后发表评论