Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
100 个修改的文件
包含
939 行增加
和
34 行删除
@@ -19,6 +19,8 @@ metadata: | @@ -19,6 +19,8 @@ metadata: | ||
19 | - ref: organization | 19 | - ref: organization |
20 | description: 数据关联组织机构 | 20 | description: 数据关联组织机构 |
21 | required: true | 21 | required: true |
22 | + - ref: companyId | ||
23 | + required: true | ||
22 | - ref: updatedAt | 24 | - ref: updatedAt |
23 | required: true | 25 | required: true |
24 | - ref: deletedAt | 26 | - ref: deletedAt |
@@ -27,6 +27,8 @@ metadata: | @@ -27,6 +27,8 @@ metadata: | ||
27 | - ref: organization | 27 | - ref: organization |
28 | description: 数据关联组织机构 | 28 | description: 数据关联组织机构 |
29 | required: true | 29 | required: true |
30 | + - ref: companyId | ||
31 | + required: true | ||
30 | - ref: createdAt | 32 | - ref: createdAt |
31 | required: true | 33 | required: true |
32 | - ref: deletedAt | 34 | - ref: deletedAt |
@@ -28,6 +28,8 @@ metadata: | @@ -28,6 +28,8 @@ metadata: | ||
28 | - ref: organization | 28 | - ref: organization |
29 | description: 数据关联组织机构 | 29 | description: 数据关联组织机构 |
30 | required: true | 30 | required: true |
31 | + - ref: companyId | ||
32 | + required: true | ||
31 | - ref: operator | 33 | - ref: operator |
32 | required: true | 34 | required: true |
33 | - ref: operateTime | 35 | - ref: operateTime |
@@ -14,6 +14,8 @@ metadata: | @@ -14,6 +14,8 @@ metadata: | ||
14 | required: true | 14 | required: true |
15 | - ref: undertakers | 15 | - ref: undertakers |
16 | required: true | 16 | required: true |
17 | + - ref: companyId | ||
18 | + required: true | ||
17 | - ref: operator | 19 | - ref: operator |
18 | required: true | 20 | required: true |
19 | - ref: updatedAt | 21 | - ref: updatedAt |
@@ -18,6 +18,8 @@ metadata: | @@ -18,6 +18,8 @@ metadata: | ||
18 | - ref: organization | 18 | - ref: organization |
19 | description: 数据关联组织机构 | 19 | description: 数据关联组织机构 |
20 | required: true | 20 | required: true |
21 | + - ref: companyId | ||
22 | + required: true | ||
21 | - ref: remarks | 23 | - ref: remarks |
22 | required: true | 24 | required: true |
23 | - ref: operator | 25 | - ref: operator |
@@ -24,6 +24,8 @@ metadata: | @@ -24,6 +24,8 @@ metadata: | ||
24 | - ref: organization | 24 | - ref: organization |
25 | description: 数据关联组织机构 | 25 | description: 数据关联组织机构 |
26 | required: true | 26 | required: true |
27 | + - ref: companyId | ||
28 | + required: true | ||
27 | - ref: operator | 29 | - ref: operator |
28 | required: true | 30 | required: true |
29 | - ref: operateTime | 31 | - ref: operateTime |
@@ -32,6 +32,8 @@ metadata: | @@ -32,6 +32,8 @@ metadata: | ||
32 | - ref: organization | 32 | - ref: organization |
33 | description: 数据关联组织机构 | 33 | description: 数据关联组织机构 |
34 | required: true | 34 | required: true |
35 | + - ref: companyId | ||
36 | + required: true | ||
35 | - ref: operator | 37 | - ref: operator |
36 | required: true | 38 | required: true |
37 | - ref: operateTime | 39 | - ref: operateTime |
@@ -28,6 +28,8 @@ metadata: | @@ -28,6 +28,8 @@ metadata: | ||
28 | - ref: organization | 28 | - ref: organization |
29 | description: 数据关联组织机构 | 29 | description: 数据关联组织机构 |
30 | required: true | 30 | required: true |
31 | + - ref: companyId | ||
32 | + required: true | ||
31 | - ref: operator | 33 | - ref: operator |
32 | required: true | 34 | required: true |
33 | - ref: operateTime | 35 | - ref: operateTime |
@@ -24,6 +24,8 @@ metadata: | @@ -24,6 +24,8 @@ metadata: | ||
24 | - ref: organization | 24 | - ref: organization |
25 | description: 数据关联组织机构 | 25 | description: 数据关联组织机构 |
26 | required: true | 26 | required: true |
27 | + - ref: companyId | ||
28 | + required: true | ||
27 | - ref: updatedAt | 29 | - ref: updatedAt |
28 | required: true | 30 | required: true |
29 | - ref: deletedAt | 31 | - ref: deletedAt |
@@ -28,6 +28,8 @@ metadata: | @@ -28,6 +28,8 @@ metadata: | ||
28 | - ref: organization | 28 | - ref: organization |
29 | description: 数据关联组织机构 | 29 | description: 数据关联组织机构 |
30 | required: true | 30 | required: true |
31 | + - ref: companyId | ||
32 | + required: true | ||
31 | - ref: createdAt | 33 | - ref: createdAt |
32 | required: true | 34 | required: true |
33 | - ref: deletedAt | 35 | - ref: deletedAt |
@@ -35,6 +35,8 @@ metadata: | @@ -35,6 +35,8 @@ metadata: | ||
35 | - ref: organization | 35 | - ref: organization |
36 | description: 数据关联组织机构 | 36 | description: 数据关联组织机构 |
37 | required: true | 37 | required: true |
38 | + - ref: companyId | ||
39 | + required: true | ||
38 | - ref: createdAt | 40 | - ref: createdAt |
39 | required: true | 41 | required: true |
40 | - ref: deletedAt | 42 | - ref: deletedAt |
@@ -11,7 +11,7 @@ metadata: | @@ -11,7 +11,7 @@ metadata: | ||
11 | - ref: cooperationMode | 11 | - ref: cooperationMode |
12 | required: true | 12 | required: true |
13 | - ref: cooperationContractSponsor | 13 | - ref: cooperationContractSponsor |
14 | - requried: true | 14 | + required: true |
15 | - ref: createdAt | 15 | - ref: createdAt |
16 | description: 共创合约建立时间 | 16 | description: 共创合约建立时间 |
17 | required: true | 17 | required: true |
@@ -26,6 +26,8 @@ metadata: | @@ -26,6 +26,8 @@ metadata: | ||
26 | - ref: organization | 26 | - ref: organization |
27 | description: 数据关联组织机构 | 27 | description: 数据关联组织机构 |
28 | required: true | 28 | required: true |
29 | + - ref: companyId | ||
30 | + required: true | ||
29 | - ref: updatedAt | 31 | - ref: updatedAt |
30 | required: true | 32 | required: true |
31 | - ref: deletedAt | 33 | - ref: deletedAt |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: referrer | ||
5 | + description: 推荐人值对象 | ||
6 | + attributes: | ||
7 | + - ref: userId | ||
8 | + required: true | ||
9 | + - ref: userBaseId | ||
10 | + required: true | ||
11 | + - ref: role | ||
12 | + required: true | ||
13 | + - ref: organizations | ||
14 | + description: 用户关联的组织机构 | ||
15 | + required: true | ||
16 | + - ref: organization | ||
17 | + description: 用户所属的组织机构 | ||
18 | + required: true | ||
19 | + - ref: department | ||
20 | + description: 用户所属的部门 | ||
21 | + required: true | ||
22 | + - ref: company | ||
23 | + required: true | ||
24 | + - ref: userInfo | ||
25 | + required: true | ||
26 | + - ref: userType | ||
27 | + required: true |
@@ -2,11 +2,20 @@ version: v1 | @@ -2,11 +2,20 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: relevant | 4 | name: relevant |
5 | - description: 共创合约相关人 | 5 | + description: 共创合约相关人值对象 |
6 | attributes: | 6 | attributes: |
7 | - ref: userId | 7 | - ref: userId |
8 | required: true | 8 | required: true |
9 | - - ref: orgnization | 9 | + - ref: userBaseId |
10 | + required: true | ||
11 | + - ref: organization | ||
12 | + description: 用户所属的组织机构 | ||
13 | + required: true | ||
14 | + - ref: organizations | ||
15 | + description: 用户关联的组织机构 | ||
16 | + required: true | ||
17 | + - ref: department | ||
18 | + description: 用户所属的部门 | ||
10 | required: true | 19 | required: true |
11 | - ref: role | 20 | - ref: role |
12 | required: true | 21 | required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: salesman | ||
5 | + description: 业务员值对象 | ||
6 | + attributes: | ||
7 | + - ref: userId | ||
8 | + required: true | ||
9 | + - ref: userBaseId | ||
10 | + required: true | ||
11 | + - ref: role | ||
12 | + required: true | ||
13 | + - ref: organizations | ||
14 | + description: 用户关联的组织机构 | ||
15 | + required: true | ||
16 | + - ref: organization | ||
17 | + description: 用户所属的组织机构 | ||
18 | + required: true | ||
19 | + - ref: department | ||
20 | + description: 用户所属的部门 | ||
21 | + required: true | ||
22 | + - ref: company | ||
23 | + required: true | ||
24 | + - ref: userInfo | ||
25 | + required: true | ||
26 | + - ref: userType | ||
27 | + required: true |
@@ -2,14 +2,20 @@ version: v1 | @@ -2,14 +2,20 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: undertaker | 4 | name: undertaker |
5 | - description: 共创合约承接方 | 5 | + description: 共创合约承接方值对象 |
6 | attributes: | 6 | attributes: |
7 | - ref: userId | 7 | - ref: userId |
8 | required: true | 8 | required: true |
9 | - - ref: usersBaseId | 9 | + - ref: userBaseId |
10 | required: true | 10 | required: true |
11 | - ref: organization | 11 | - ref: organization |
12 | - description: 用户关联组织机构 | 12 | + description: 用户所属组织机构 |
13 | + required: true | ||
14 | + - ref: organizations | ||
15 | + description: 用户关联的组织机构 | ||
16 | + required: true | ||
17 | + - ref: department | ||
18 | + description: 用户所属的部门 | ||
13 | required: true | 19 | required: true |
14 | - ref: role | 20 | - ref: role |
15 | required: true | 21 | required: true |
@@ -6,16 +6,23 @@ metadata: | @@ -6,16 +6,23 @@ metadata: | ||
6 | attributes: | 6 | attributes: |
7 | - ref: userId | 7 | - ref: userId |
8 | required: true | 8 | required: true |
9 | - - ref: usersBaseId | 9 | + - ref: userBaseId |
10 | required: true | 10 | required: true |
11 | - ref: organization | 11 | - ref: organization |
12 | - description: 用户关联组织机构 | 12 | + description: 用户所属组织机构 |
13 | required: true | 13 | required: true |
14 | + - ref: organizations | ||
15 | + description: 用户关联的组织机构 | ||
16 | + required: true | ||
17 | + - ref: department | ||
18 | + description: 用户所属的部门 | ||
19 | + required: | ||
14 | - ref: role | 20 | - ref: role |
15 | required: true | 21 | required: true |
16 | - ref: userInfo | 22 | - ref: userInfo |
17 | required: true | 23 | required: true |
18 | - ref: userType | 24 | - ref: userType |
25 | + description: 用户类型 | ||
19 | required: true | 26 | required: true |
20 | - ref: status | 27 | - ref: status |
21 | required: true | 28 | required: true |
@@ -27,11 +27,11 @@ metadata: | @@ -27,11 +27,11 @@ metadata: | ||
27 | - name: dividendsIncentivesRules | 27 | - name: dividendsIncentivesRules |
28 | description: 业绩分红激励规则列表 | 28 | description: 业绩分红激励规则列表 |
29 | type: | 29 | type: |
30 | - array: dividendsIncentivesRules | 30 | + array: dividendsIncentivesRule |
31 | - name: moneyIncentivesRules | 31 | - name: moneyIncentivesRules |
32 | description: 金额激励规则列表 | 32 | description: 金额激励规则列表 |
33 | type: | 33 | type: |
34 | - array: moneyIncentivesRules | 34 | + array: moneyIncentivesRule |
35 | - name: undertakers | 35 | - name: undertakers |
36 | description: 承接方列表 | 36 | description: 承接方列表 |
37 | type: | 37 | type: |
@@ -7,7 +7,7 @@ metadata: | @@ -7,7 +7,7 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - ref: cooperationProjectName | 8 | - ref: cooperationProjectName |
9 | required: true | 9 | required: true |
10 | - - ref: coopeartionProjectUndertakerType | 10 | + - ref: cooperationProjectUndertakerType |
11 | description: 承接对象,1员工,2共创用户,3公开,可以多选 | 11 | description: 承接对象,1员工,2共创用户,3公开,可以多选 |
12 | required: true | 12 | required: true |
13 | - name: sponsorUid | 13 | - name: sponsorUid |
@@ -7,7 +7,7 @@ metadata: | @@ -7,7 +7,7 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - ref: cooperationProjectName | 8 | - ref: cooperationProjectName |
9 | required: true | 9 | required: true |
10 | - - ref: coopeartionProjectUndertakerType | 10 | + - ref: cooperationProjectUndertakerType |
11 | description: 承接对象,1员工,2共创用户,3公开,可以多选 | 11 | description: 承接对象,1员工,2共创用户,3公开,可以多选 |
12 | required: true | 12 | required: true |
13 | - name: sponsorUid | 13 | - name: sponsorUid |
@@ -14,7 +14,7 @@ metadata: | @@ -14,7 +14,7 @@ metadata: | ||
14 | - ref: dividendsIncentivesStageStart | 14 | - ref: dividendsIncentivesStageStart |
15 | required: true | 15 | required: true |
16 | - ref: dividendsIncentivesStageEnd | 16 | - ref: dividendsIncentivesStageEnd |
17 | - requried: true | 17 | + required: true |
18 | - ref: referrerPercentage | 18 | - ref: referrerPercentage |
19 | required: true | 19 | required: true |
20 | - ref: salesmanPercentage | 20 | - ref: salesmanPercentage |
@@ -14,7 +14,7 @@ metadata: | @@ -14,7 +14,7 @@ metadata: | ||
14 | - ref: dividendsIncentivesStageStart | 14 | - ref: dividendsIncentivesStageStart |
15 | required: true | 15 | required: true |
16 | - ref: dividendsIncentivesStageEnd | 16 | - ref: dividendsIncentivesStageEnd |
17 | - requried: true | 17 | + required: true |
18 | - ref: referrerPercentage | 18 | - ref: referrerPercentage |
19 | required: true | 19 | required: true |
20 | - ref: salesmanPercentage | 20 | - ref: salesmanPercentage |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: appLoginAccess | ||
5 | + path: /app/auth | ||
6 | + endpoints: | ||
7 | + - method: loginByAccount | ||
8 | + route: | ||
9 | + post: /by-account | ||
10 | + - method: loginBySmsCode | ||
11 | + route: | ||
12 | + post: /by-smscode | ||
13 | + - method: switchOrg | ||
14 | + route: | ||
15 | + post: /switch-org | ||
16 | + - method: refreshToken | ||
17 | + route: | ||
18 | + post: /refresh-token | ||
19 | + - method: authCodeToAccessToken | ||
20 | + route: | ||
21 | + post: /access-token | ||
22 | + - method: loginScanQrcode | ||
23 | + route: | ||
24 | + post: /by-qrcode |
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: appUsers | ||
5 | + path: /app/users | ||
6 | + endpoints: | ||
7 | + - method: registCommonUser | ||
8 | + route: | ||
9 | + post: /regist/common | ||
10 | + - method: registCompanyUser | ||
11 | + route: | ||
12 | + post: /regist/company | ||
13 | + - method: checkPhone | ||
14 | + route: | ||
15 | + post: /check-phone | ||
16 | + - method: setNewPassword | ||
17 | + route: | ||
18 | + post: /set-password |
@@ -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: /contract-change-logs | 5 | + path: /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: /cooperation-applications | 5 | + path: /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: /cooperation-contracts | 5 | + path: /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: /cooperation-modes | 5 | + path: /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: /cooperation-projects | 5 | + path: /web/cooperation-projects |
6 | endpoints: | 6 | endpoints: |
7 | - method: createCooperationProject | 7 | - method: createCooperationProject |
8 | route: | 8 | route: |
@@ -16,3 +16,6 @@ metadata: | @@ -16,3 +16,6 @@ metadata: | ||
16 | - method: listCooperationProject | 16 | - method: listCooperationProject |
17 | route: | 17 | route: |
18 | post: /search | 18 | post: /search |
19 | + - method: endCooperationProject | ||
20 | + route: | ||
21 | + put: /end |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: HttpApi | 2 | kind: HttpApi |
3 | metadata: | 3 | metadata: |
4 | service: loginAccess | 4 | service: loginAccess |
5 | - path: /auth | 5 | + path: /web/auth |
6 | endpoints: | 6 | endpoints: |
7 | - method: loginByAccount | 7 | - method: loginByAccount |
8 | route: | 8 | route: |
@@ -16,6 +16,6 @@ metadata: | @@ -16,6 +16,6 @@ metadata: | ||
16 | - method: getQrcodeForLogin | 16 | - method: getQrcodeForLogin |
17 | route: | 17 | route: |
18 | get: /get-qrcode | 18 | get: /get-qrcode |
19 | - - method: AuthCodeToAccessToken | 19 | + - method: authCodeToAccessToken |
20 | route: | 20 | route: |
21 | get: /access-token | 21 | get: /access-token |
@@ -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: /notice-setting | 5 | + path: /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: /contract-undertaker-feedbacks | 5 | + path: /web/contract-undertaker-feedbacks |
6 | endpoints: | 6 | endpoints: |
7 | - method: createContractUndertakerFeedback | 7 | - method: createContractUndertakerFeedback |
8 | route: | 8 | route: |
@@ -26,6 +26,8 @@ metadata: | @@ -26,6 +26,8 @@ metadata: | ||
26 | required: true | 26 | required: true |
27 | - ref: orgId | 27 | - ref: orgId |
28 | required: true | 28 | required: true |
29 | + - ref: status | ||
30 | + required: true | ||
29 | - ref: cooperationModeName | 31 | - ref: cooperationModeName |
30 | - ref: cooperationModeNumber | 32 | - ref: cooperationModeNumber |
31 | description: 模式编码,唯一确定 | 33 | description: 模式编码,唯一确定 |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: dividendsOrder | ||
5 | + description: 分红订单实体 | ||
6 | + attributes: | ||
7 | + - ref: dividendsOrderId | ||
8 | + required: true | ||
9 | + - ref: dividendsOrderNumber | ||
10 | + required: true | ||
11 | + - ref: dividendsOriginalOrderNum | ||
12 | + required: true | ||
13 | + - ref: dividendsOrderAmount | ||
14 | + required: true | ||
15 | + - ref: orderSalesman | ||
16 | + required: true | ||
17 | + - ref: orderTime | ||
18 | + required: true | ||
19 | + - ref: dividendTime | ||
20 | + required: true | ||
21 | + - ref: dividendStatus | ||
22 | + required: true | ||
23 | + - ref: region | ||
24 | + required: true | ||
25 | + - ref: customerName | ||
26 | + description: 客户姓名 | ||
27 | + required: true | ||
28 | + - ref: createdAt | ||
29 | + required: true | ||
30 | + - ref: deletedAt | ||
31 | + required: true | ||
32 | + - ref: updatedAt | ||
33 | + required: true | ||
34 | + - ref: operateTime | ||
35 | + required: true | ||
36 | + - ref: operator | ||
37 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: dividendsReturnedOrder | ||
5 | + description: 分红退货单实体 | ||
6 | + attributes: | ||
7 | + - ref: dividendsReturnedOrderId | ||
8 | + required: true | ||
9 | + - ref: dividendsReturnedOrderNumber | ||
10 | + description: 分红退货单号 | ||
11 | + required: true | ||
12 | + - ref: dividendsReturnedOrderRefund | ||
13 | + required: true | ||
14 | + - ref: originalOrderNum | ||
15 | + description: 源单号(原始订单号) | ||
16 | + required: true | ||
17 | + - ref: dividendsOrderNumber | ||
18 | + description: 关联分红订单号 | ||
19 | + required: true | ||
20 | + - ref: dividendsReturnedCustomerName | ||
21 | + description: 退货客户姓名 | ||
22 | + required: true | ||
23 | + - ref: dividendsReturnedDate | ||
24 | + required: true | ||
25 | + - ref: region | ||
26 | + description: 退货区域 | ||
27 | + required: true | ||
28 | + - ref: remarks | ||
29 | + description: 备注 | ||
30 | + required: true | ||
31 | + - ref: dividendStatus | ||
32 | + required: true | ||
33 | + - ref: dividendTime | ||
34 | + required: true | ||
35 | + - ref: createdAt | ||
36 | + required: true | ||
37 | + - ref: deletedAt | ||
38 | + required: true | ||
39 | + - ref: updatedAt | ||
40 | + required: true | ||
41 | + - ref: operator | ||
42 | + required: true | ||
43 | + - ref: operateTime | ||
44 | + required: true |
@@ -16,3 +16,11 @@ metadata: | @@ -16,3 +16,11 @@ metadata: | ||
16 | description: 组织id | 16 | description: 组织id |
17 | type: | 17 | type: |
18 | primitive: int64 | 18 | primitive: int64 |
19 | + - name: isLogin | ||
20 | + description: 是否已经进入系统 | ||
21 | + type: | ||
22 | + primitive: boolean | ||
23 | + - name: userType | ||
24 | + description: 用户类型 | ||
25 | + type: | ||
26 | + primitive: int |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: orderGood | ||
5 | + description: 分红单中的产品 | ||
6 | + attributes: | ||
7 | + - ref: orderGoodAmount | ||
8 | + required: true | ||
9 | + - ref: orderGoodExpense | ||
10 | + required: true | ||
11 | + - ref: orderGoodId | ||
12 | + required: true | ||
13 | + - ref: orderGoodName | ||
14 | + required: true | ||
15 | + - ref: orderGoodPrice | ||
16 | + required: true | ||
17 | + - ref: orderGoodQuantity | ||
18 | + required: true | ||
19 | + - ref: cooperationContractNumber | ||
20 | + description: 关联的共创合约编号 | ||
21 | + required: true | ||
22 | + - ref: dividendsOrderNumber | ||
23 | + description: 关联分红订单号 | ||
24 | + required: true | ||
25 | + - ref: createdAt | ||
26 | + required: true | ||
27 | + - ref: deletedAt | ||
28 | + required: true | ||
29 | + - ref: updatedAt | ||
30 | + required: true |
@@ -20,3 +20,10 @@ metadata: | @@ -20,3 +20,10 @@ metadata: | ||
20 | required: true | 20 | required: true |
21 | - ref: email | 21 | - ref: email |
22 | required: true | 22 | required: true |
23 | + - ref: companyId | ||
24 | + required: true | ||
25 | + - ref: companyName | ||
26 | + required: true | ||
27 | + - ref: orgId | ||
28 | + required: true | ||
29 | + - ref: orgName |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createContractUndertakerFeedback | ||
5 | + type: command | ||
6 | + description: 创建承接信息反馈 | ||
7 | + payload: | ||
8 | + - ref: feedbackAttachment | ||
9 | + required: true | ||
10 | + - ref: feedbackContent | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - name: contractUndertakerFeedback | ||
14 | + type: | ||
15 | + schema: contractUndertakerFeedback | ||
16 | + required: true |
allied-creation-gateway/services/appCooperationApplication/methods/auditCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: auditCooperationApplication | ||
5 | + type: command | ||
6 | + description: 审核共创申请 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + - name: userId | ||
11 | + description: 审核人id | ||
12 | + type: | ||
13 | + primitive: int64 | ||
14 | + - ref: cooperationApplicationStatus | ||
15 | + required: true | ||
16 | + - ref: cooperationApplicationVerifyDescription | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - ref: cooperationApplicationId |
allied-creation-gateway/services/appCooperationApplication/methods/createCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createCooperationApplication | ||
5 | + type: command | ||
6 | + description: 创建共创申请管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationDescription | ||
9 | + required: true | ||
10 | + - name: userId | ||
11 | + description: 申请人的id | ||
12 | + type: | ||
13 | + primitive: int64 | ||
14 | + - name: attachment | ||
15 | + description: 附件列表 | ||
16 | + type: | ||
17 | + array: attachment | ||
18 | + result: | ||
19 | + - name: cooperationApplication | ||
20 | + type: | ||
21 | + schema: cooperationApplication | ||
22 | + required: true | ||
23 | + - name: cooperationProject | ||
24 | + type: | ||
25 | + schema: cooperationProject |
allied-creation-gateway/services/appCooperationApplication/methods/getCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getCooperationApplication | ||
5 | + type: query | ||
6 | + description: 返回共创申请管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationApplication | ||
12 | + type: | ||
13 | + schema: cooperationApplication | ||
14 | + required: true |
allied-creation-gateway/services/appCooperationApplication/methods/listCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationApplication | ||
5 | + type: query | ||
6 | + description: 返回共创申请管理列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - name: status | ||
13 | + description: 共创申请状态 | ||
14 | + type: | ||
15 | + primitive: int | ||
16 | + result: | ||
17 | + - ref: count | ||
18 | + required: true | ||
19 | + - name: cooperationApplications | ||
20 | + type: | ||
21 | + array: cooperationApplication | ||
22 | + required: true |
allied-creation-gateway/services/appCooperationApplication/methods/updateCooperationApplication.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCooperationApplication | ||
5 | + type: command | ||
6 | + description: 更新共创申请管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationApplicationId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationApplication | ||
12 | + type: | ||
13 | + schema: cooperationApplication | ||
14 | + required: true |
allied-creation-gateway/services/appCooperationProject/methods/createCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createCooperationProject | ||
5 | + type: command | ||
6 | + description: 创建共创项目管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationModeNumber | ||
9 | + description: 模式编码,唯一确定 | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: cooperationProjectName | ||
14 | + required: true | ||
15 | + - name: cooperationProjectSponsor | ||
16 | + description: 共创发起人id | ||
17 | + type: | ||
18 | + primitive: int64 | ||
19 | + - name: cooperationProjectUndertakerType | ||
20 | + description: 项目承接对象 | ||
21 | + type: | ||
22 | + array: int32 | ||
23 | + - ref: cooperationProjectDescription | ||
24 | + required: true | ||
25 | + result: | ||
26 | + - name: cooperationProject | ||
27 | + type: | ||
28 | + schema: cooperationProject | ||
29 | + required: true |
allied-creation-gateway/services/appCooperationProject/methods/endCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: endCooperationProject | ||
5 | + type: command | ||
6 | + description: 结束共创项目管理 | ||
7 | + payload: | ||
8 | + - name: cooperationProjectId | ||
9 | + description: 共创项目id | ||
10 | + type: | ||
11 | + array: int64 | ||
12 | + result: | ||
13 | + - name: cooperationProject | ||
14 | + type: | ||
15 | + schema: cooperationProject | ||
16 | + required: true |
allied-creation-gateway/services/appCooperationProject/methods/getCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getCooperationProject | ||
5 | + type: query | ||
6 | + description: 返回共创项目管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationProjectId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: cooperationProject | ||
12 | + type: | ||
13 | + schema: cooperationProject | ||
14 | + required: true | ||
15 | + - name: application | ||
16 | + type: | ||
17 | + array: cooperationApplication |
allied-creation-gateway/services/appCooperationProject/methods/listCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listCooperationProject | ||
5 | + type: query | ||
6 | + description: 返回共创项目管理列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - ref: status | ||
13 | + description: 项目状态 全部、招标中、已结束 | ||
14 | + required: true | ||
15 | + result: | ||
16 | + - ref: count | ||
17 | + required: true | ||
18 | + - name: cooperationProjects | ||
19 | + type: | ||
20 | + array: cooperationProject | ||
21 | + required: true |
allied-creation-gateway/services/appCooperationProject/methods/updateCooperationProject.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateCooperationProject | ||
5 | + type: command | ||
6 | + description: 更新共创项目管理 | ||
7 | + payload: | ||
8 | + - ref: cooperationProjectId | ||
9 | + required: true | ||
10 | + - ref: cooperationModeNumber | ||
11 | + description: 模式编码,唯一确定 | ||
12 | + required: true | ||
13 | + - ref: orgId | ||
14 | + required: true | ||
15 | + - ref: cooperationProjectName | ||
16 | + required: true | ||
17 | + - name: cooperationProjectSponsor | ||
18 | + description: 共创发起人id | ||
19 | + type: | ||
20 | + primitive: int64 | ||
21 | + - name: cooperationProjectUndertakerType | ||
22 | + description: 项目承接对象 | ||
23 | + type: | ||
24 | + array: int32 | ||
25 | + - ref: cooperationProjectDescription | ||
26 | + required: true | ||
27 | + result: | ||
28 | + - name: cooperationProject | ||
29 | + type: | ||
30 | + schema: cooperationProject | ||
31 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: authCodeToAccessToken | ||
5 | + type: query | ||
6 | + description: app获取具体的进入系统的凭证 | ||
7 | + payload: | ||
8 | + - name: authCode | ||
9 | + description: 登录认证的凭证 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + result: | ||
13 | + - name: accessToken | ||
14 | + description: 登录系统的凭证 | ||
15 | + type: | ||
16 | + primitive: string | ||
17 | + - name: refreshToken | ||
18 | + description: 刷新凭证用的token | ||
19 | + type: | ||
20 | + primitive: int64 | ||
21 | + - name: expiresIn | ||
22 | + description: 过期时间,单位秒 | ||
23 | + type: | ||
24 | + primitive: int64 | ||
25 | + - name: menu | ||
26 | + description: 菜单权限信息 | ||
27 | + type: | ||
28 | + array: menu | ||
29 | + - name: user | ||
30 | + description: 用户信息 | ||
31 | + type: | ||
32 | + schema: users | ||
33 | + - name: orgs | ||
34 | + description: 可选组织列表 | ||
35 | + type: | ||
36 | + array: orgs |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: loginByAccount | ||
5 | + type: query | ||
6 | + description: app 端使用手机号和密码登录系统 | ||
7 | + payload: | ||
8 | + - name: account | ||
9 | + description: 账号 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: passwd | ||
13 | + description: 密码 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - name: authcode | ||
18 | + description: 登录认证的凭证 | ||
19 | + type: | ||
20 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: loginBySmsCode | ||
5 | + type: query | ||
6 | + description: app使用手机号和短信验证码登录系统 | ||
7 | + payload: | ||
8 | + - name: phone | ||
9 | + description: 手机号 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: smsCode | ||
13 | + description: 短信验证码 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - name: authcode | ||
18 | + description: 登录认证的凭证 | ||
19 | + type: | ||
20 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: loginScanQrcode | ||
5 | + type: query | ||
6 | + description: app扫描网页上的二维码确定登录 | ||
7 | + payload: | ||
8 | + - name: authCode | ||
9 | + description: 扫描到二维码信息,一个字符串 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: accessToken | ||
13 | + description: app端登录凭证 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - name: authcode | ||
18 | + description: 扫描到二维码信息,一个字符串 | ||
19 | + type: | ||
20 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: refreshToken | ||
5 | + type: query | ||
6 | + description: app刷新进入系统的凭证 | ||
7 | + payload: | ||
8 | + - name: refreshToken | ||
9 | + description: 刷新登录认证的凭证 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + result: | ||
13 | + - name: accessToken | ||
14 | + description: 登录系统的凭证 | ||
15 | + type: | ||
16 | + primitive: string | ||
17 | + - name: refreshToken | ||
18 | + description: 刷新凭证用的token | ||
19 | + type: | ||
20 | + primitive: int64 | ||
21 | + - name: expiresIn | ||
22 | + description: 过期时间,单位秒 | ||
23 | + type: | ||
24 | + primitive: int64 | ||
25 | + - name: menu | ||
26 | + description: 菜单权限信息 | ||
27 | + type: | ||
28 | + array: menu | ||
29 | + - name: user | ||
30 | + description: 用户信息 | ||
31 | + type: | ||
32 | + schema: users | ||
33 | + - name: orgs | ||
34 | + description: 可选组织列表 | ||
35 | + type: | ||
36 | + array: orgs |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: switchOrg | ||
5 | + type: query | ||
6 | + description: app切换公司组织 | ||
7 | + payload: | ||
8 | + - name: accessToken | ||
9 | + description: 登录凭证 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: orgId | ||
13 | + description: 公司id | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + result: | ||
17 | + - name: accessToken | ||
18 | + description: 登录系统的凭证 | ||
19 | + type: | ||
20 | + primitive: string | ||
21 | + - name: refreshToken | ||
22 | + description: 刷新凭证用的token | ||
23 | + type: | ||
24 | + primitive: int64 | ||
25 | + - name: expiresIn | ||
26 | + description: 过期时间,单位秒 | ||
27 | + type: | ||
28 | + primitive: int64 | ||
29 | + - name: menu | ||
30 | + description: 菜单权限信息 | ||
31 | + type: | ||
32 | + array: menu | ||
33 | + - name: user | ||
34 | + description: 用户信息 | ||
35 | + type: | ||
36 | + schema: users | ||
37 | + - name: orgs | ||
38 | + description: 可选组织列表 | ||
39 | + type: | ||
40 | + array: orgs |
-
请 注册 或 登录 后发表评论