正在显示
23 个修改的文件
包含
31 行增加
和
45 行删除
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: appCooperationApplication | 4 | service: appCooperationApplication |
| 5 | - path: /app/cooperation-applications | 5 | + path: /v1/app/cooperation-applications |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationApplication | 7 | - method: createCooperationApplication |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: appCooperationProject | 4 | service: appCooperationProject |
| 5 | - path: /app/cooperation-projects | 5 | + path: /v1/app/cooperation-projects |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationProject | 7 | - method: createCooperationProject |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: appLoginAccess | 4 | service: appLoginAccess |
| 5 | - path: /app/auth | 5 | + path: /v1/app/auth |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: loginByAccount | 7 | - method: loginByAccount |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: contractChangeLog | 4 | service: contractChangeLog |
| 5 | - path: /web/contract-change-logs | 5 | + path: /v1/web/contract-change-logs |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: listContractChangeLog | 7 | - method: listContractChangeLog |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: cooperationApplication | 4 | service: cooperationApplication |
| 5 | - path: /web/cooperation-applications | 5 | + path: /v1/web/cooperation-applications |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationApplication | 7 | - method: createCooperationApplication |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: cooperationContract | 4 | service: cooperationContract |
| 5 | - path: /web/cooperation-contracts | 5 | + path: /v1/web/cooperation-contracts |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationContract | 7 | - method: createCooperationContract |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: cooperationMode | 4 | service: cooperationMode |
| 5 | - path: /web/cooperation-modes | 5 | + path: /v1/web/cooperation-modes |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationMode | 7 | - method: createCooperationMode |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: cooperationProject | 4 | service: cooperationProject |
| 5 | - path: /web/cooperation-projects | 5 | + path: /v1/web/cooperation-projects |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createCooperationProject | 7 | - method: createCooperationProject |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: dividendsEstimate | 4 | service: dividendsEstimate |
| 5 | - path: /web/dividends-estimate | 5 | + path: /v1/web/dividends-estimate |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createDividendsEstimate | 7 | - method: createDividendsEstimate |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: dividendsOrder | 4 | service: dividendsOrder |
| 5 | - path: /web/dividends-order | 5 | + path: /v1/web/dividends-order |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createDividendsOrder | 7 | - method: createDividendsOrder |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: dividendsReturnedOrder | 4 | service: dividendsReturnedOrder |
| 5 | - path: /web/dividends-returned-order | 5 | + path: /v1/web/dividends-returned-order |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createDividendsReturnedOrder | 7 | - method: createDividendsReturnedOrder |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: noticeSetting | 4 | service: noticeSetting |
| 5 | - path: /web/notice-setting | 5 | + path: /v1/web/notice-setting |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: noticeSettingList | 7 | - method: noticeSettingList |
| 8 | route: | 8 | route: |
| @@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
| 2 | kind: HttpApi | 2 | kind: HttpApi |
| 3 | metadata: | 3 | metadata: |
| 4 | service: contractUndertakerFeedback | 4 | service: contractUndertakerFeedback |
| 5 | - path: /web/contract-undertaker-feedbacks | 5 | + path: /v1/web/contract-undertaker-feedbacks |
| 6 | endpoints: | 6 | endpoints: |
| 7 | - method: createContractUndertakerFeedback | 7 | - method: createContractUndertakerFeedback |
| 8 | route: | 8 | route: |
| @@ -6,8 +6,10 @@ metadata: | @@ -6,8 +6,10 @@ metadata: | ||
| 6 | attributes: | 6 | attributes: |
| 7 | - ref: contractUndertaker | 7 | - ref: contractUndertaker |
| 8 | required: true | 8 | required: true |
| 9 | - - ref: feedbackAttachment | ||
| 10 | - required: true | 9 | + - name: feedbackAttachment |
| 10 | + description: 附件 | ||
| 11 | + type: | ||
| 12 | + array: attachment | ||
| 11 | - ref: feedbackContent | 13 | - ref: feedbackContent |
| 12 | required: true | 14 | required: true |
| 13 | - ref: feedbackId | 15 | - ref: feedbackId |
| @@ -22,10 +22,10 @@ metadata: | @@ -22,10 +22,10 @@ metadata: | ||
| 22 | - ref: cooperationContractNumber | 22 | - ref: cooperationContractNumber |
| 23 | required: true | 23 | required: true |
| 24 | - name: participator | 24 | - name: participator |
| 25 | - description: 参与人uid,包括承接人、推荐人、关联业务员 | 25 | + description: 参与人 |
| 26 | required: true | 26 | required: true |
| 27 | type: | 27 | type: |
| 28 | - array: int64 | 28 | + schema: usersBase |
| 29 | - ref: paymentDocumentAttachment | 29 | - ref: paymentDocumentAttachment |
| 30 | description: 支付凭证附件 | 30 | description: 支付凭证附件 |
| 31 | required: true | 31 | required: true |
| @@ -33,8 +33,6 @@ metadata: | @@ -33,8 +33,6 @@ metadata: | ||
| 33 | description: 数据关联组织机构 | 33 | description: 数据关联组织机构 |
| 34 | type: | 34 | type: |
| 35 | schema: orgs | 35 | schema: orgs |
| 36 | - - ref: companyId | ||
| 37 | - required: true | ||
| 38 | - ref: operator | 36 | - ref: operator |
| 39 | required: true | 37 | required: true |
| 40 | - ref: operateTime | 38 | - ref: operateTime |
| @@ -4,16 +4,12 @@ metadata: | @@ -4,16 +4,12 @@ metadata: | ||
| 4 | name: users | 4 | name: users |
| 5 | description: 用户基础信息 | 5 | description: 用户基础信息 |
| 6 | attributes: | 6 | attributes: |
| 7 | - - ref: phone | ||
| 8 | - required: true | ||
| 9 | - - ref: status | ||
| 10 | - required: true | ||
| 11 | - - ref: usersCode | ||
| 12 | - required: true | ||
| 13 | - - ref: usersId | ||
| 14 | - required: true | ||
| 15 | - - ref: usersName | ||
| 16 | - required: true | 7 | + - name: userId |
| 8 | + description: 用户id | ||
| 9 | + - name: userInfo | ||
| 10 | + description: 用户基础信息 | ||
| 11 | + type: | ||
| 12 | + schema: usersBase | ||
| 17 | - name: org | 13 | - name: org |
| 18 | description: 用户的组织 | 14 | description: 用户的组织 |
| 19 | type: | 15 | type: |
| @@ -22,9 +18,3 @@ metadata: | @@ -22,9 +18,3 @@ metadata: | ||
| 22 | description: 用户的部门 | 18 | description: 用户的部门 |
| 23 | type: | 19 | type: |
| 24 | schema: department | 20 | schema: department |
| 25 | - - ref: email | ||
| 26 | - required: true | ||
| 27 | - - ref: cooperationCompany | ||
| 28 | - required: true | ||
| 29 | - - ref: cooperationDeadline | ||
| 30 | - required: true |
-
请 注册 或 登录 后发表评论