正在显示
95 个修改的文件
包含
1315 行增加
和
26 行删除
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 |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: checkPhone | ||
5 | + type: command | ||
6 | + description: 短信验证手机号 | ||
7 | + payload: | ||
8 | + - ref: phone | ||
9 | + required: true | ||
10 | + - name: smsCode | ||
11 | + description: 验证码 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + result: | ||
15 | + - name: smsCodeIdentity | ||
16 | + description: 验证码凭证 | ||
17 | + type: | ||
18 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: editPersonalData | ||
5 | + type: command | ||
6 | + description: 编辑个人资料 | ||
7 | + payload: | ||
8 | + - name: avator | ||
9 | + description: 头像地址 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: nickName | ||
13 | + description: 用户名字 | ||
14 | + type: | ||
15 | + primitive: string | ||
16 | + result: | ||
17 | + - name: avator | ||
18 | + description: 头像地址 | ||
19 | + type: | ||
20 | + primitive: string | ||
21 | + - name: nickName | ||
22 | + description: 用户名字 | ||
23 | + type: | ||
24 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: editPersonalData | ||
5 | + type: query | ||
6 | + description: 获取个人资料 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 用户id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + result: | ||
13 | + - name: avator | ||
14 | + description: 头像地址 | ||
15 | + type: | ||
16 | + primitive: string | ||
17 | + - name: nickName | ||
18 | + description: 用户名字 | ||
19 | + type: | ||
20 | + primitive: string | ||
21 | + - name: phone | ||
22 | + description: 手机号 | ||
23 | + type: | ||
24 | + primitive: string | ||
25 | + - name: userCode | ||
26 | + description: 用户编号 | ||
27 | + type: | ||
28 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: registCommonUser | ||
5 | + type: command | ||
6 | + description: 注册普通用户 | ||
7 | + payload: | ||
8 | + - ref: phone | ||
9 | + required: true | ||
10 | + - name: nickeName | ||
11 | + description: 用户姓名 | ||
12 | + type: | ||
13 | + primitive: string | ||
14 | + - name: smsCode | ||
15 | + description: 手机验证码 | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + - name: password | ||
19 | + description: 设置账号密码 | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + result: | ||
23 | + - ref: phone | ||
24 | + required: true | ||
25 | + - name: nickeName | ||
26 | + description: 用户姓名 | ||
27 | + type: | ||
28 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: registCompanyUser | ||
5 | + type: command | ||
6 | + description: 注册企业用户 | ||
7 | + payload: | ||
8 | + - ref: companyName | ||
9 | + required: true | ||
10 | + - ref: scale | ||
11 | + required: true | ||
12 | + - ref: industryCategory | ||
13 | + required: true | ||
14 | + - ref: phone | ||
15 | + required: true | ||
16 | + - name: nickeName | ||
17 | + description: 用户姓名 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: smsCode | ||
21 | + description: 手机验证码 | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + - name: password | ||
25 | + description: 设置账号密码 | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + result: | ||
29 | + - ref: phone | ||
30 | + required: true | ||
31 | + - name: nickeName | ||
32 | + description: 用户姓名 | ||
33 | + type: | ||
34 | + primitive: string |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: setNewPassword | ||
5 | + type: command | ||
6 | + description: 设置新的密码 | ||
7 | + payload: | ||
8 | + - name: smsCodeIdentity | ||
9 | + description: 验证码凭证 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + - name: newPassword | ||
13 | + description: 新的密码 | ||
14 | + result: | ||
15 | + - name: success | ||
16 | + description: 成功 | ||
17 | + type: | ||
18 | + primitive: string |
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 |
@@ -5,14 +5,17 @@ metadata: | @@ -5,14 +5,17 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 返回共创项目管理列表 | 6 | description: 返回共创项目管理列表 |
7 | payload: | 7 | payload: |
8 | - - ref: offset | ||
9 | - required: true | ||
10 | - - ref: limit | ||
11 | - required: true | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - ref: status | ||
13 | + description: 项目状态 全部、招标中、已结束 | ||
14 | + required: true | ||
12 | result: | 15 | result: |
13 | - - ref: count | ||
14 | - required: true | ||
15 | - - name: cooperationProjects | ||
16 | - type: | ||
17 | - array: cooperationProject | ||
18 | - required: true | 16 | + - ref: count |
17 | + required: true | ||
18 | + - name: cooperationProjects | ||
19 | + type: | ||
20 | + array: cooperationProject | ||
21 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createDividendsOrder | ||
5 | + type: command | ||
6 | + description: 创建分红订单实体对象 | ||
7 | + payload: | ||
8 | + - ref: customerName | ||
9 | + required: true | ||
10 | + - ref: dividendsOrderAmount | ||
11 | + required: true | ||
12 | + - ref: dividendsOrderNumber | ||
13 | + required: true | ||
14 | + - ref: dividendsOriginalOrderNum | ||
15 | + required: true | ||
16 | + - ref: orderTime | ||
17 | + required: true | ||
18 | + - ref: remarks | ||
19 | + required: true | ||
20 | + - name: salesmanUid | ||
21 | + description: 订单业务员uid | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + - name: operatorUid | ||
25 | + description: 订单操作人uid | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + - name: orderGoods | ||
29 | + description: 订单产品列表 | ||
30 | + type: | ||
31 | + array: orderGood | ||
32 | + result: | ||
33 | + - name: dividendsOrder | ||
34 | + type: | ||
35 | + schema: dividendsOrder | ||
36 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listDividendsOrders | ||
5 | + type: query | ||
6 | + description: 返回分红订单实体对象列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: dividendsOrders | ||
16 | + type: | ||
17 | + array: dividendsOrder | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchDividendsOrder | ||
5 | + type: query | ||
6 | + description: 查询分红订单方法 | ||
7 | + payload: | ||
8 | + - ref: dividendsOrderNumber | ||
9 | + required: false | ||
10 | + - ref: customerName | ||
11 | + required: false | ||
12 | + - ref: offset | ||
13 | + required: false | ||
14 | + - ref: limit | ||
15 | + required: false | ||
16 | + result: | ||
17 | + - name: dividendsOrders | ||
18 | + type: | ||
19 | + array: dividendsOrder | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateDividendsOrder | ||
5 | + type: command | ||
6 | + description: 更新分红订单实体对象 | ||
7 | + payload: | ||
8 | + - ref: customerName | ||
9 | + required: true | ||
10 | + - ref: dividendsOrderAmount | ||
11 | + required: true | ||
12 | + - ref: dividendsOrderNumber | ||
13 | + required: true | ||
14 | + - ref: dividendsOriginalOrderNum | ||
15 | + required: true | ||
16 | + - ref: orderTime | ||
17 | + required: true | ||
18 | + - ref: remarks | ||
19 | + required: true | ||
20 | + - name: salesmanUid | ||
21 | + description: Attribute描述 | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + - name: operatorUid | ||
25 | + description: Attribute描述 | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + result: | ||
29 | + - name: dividendsOrder | ||
30 | + type: | ||
31 | + schema: dividendsOrder | ||
32 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/createDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: createDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 创建分红退货单服务 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedOrderRefund | ||
9 | + required: true | ||
10 | + - ref: dividendsReturnedCustomerName | ||
11 | + required: true | ||
12 | + - ref: originalOrderNum | ||
13 | + required: true | ||
14 | + - ref: remarks | ||
15 | + required: true | ||
16 | + - ref: dividendsReturnedDate | ||
17 | + required: true | ||
18 | + - name: regionName | ||
19 | + description: 退货区域名称 | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + - name: orderGoods | ||
23 | + description: 订单产品列表 | ||
24 | + type: | ||
25 | + array: orderGood | ||
26 | + result: | ||
27 | + - name: dividendsReturnedOrder | ||
28 | + type: | ||
29 | + schema: dividendsReturnedOrder | ||
30 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/getDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getDividendsReturnedOrder | ||
5 | + type: query | ||
6 | + description: 返回分红退货单服务 | ||
7 | + playload: | ||
8 | + - ref: dividendsReturnedOrderId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: dividendsReturnedOrders | ||
12 | + type: | ||
13 | + schema: dividendsReturnedOrder | ||
14 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/listDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listDividendsReturnedOrder | ||
5 | + type: query | ||
6 | + description: 返回分红退货单服务列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: dividendsReturnedOrders | ||
16 | + type: | ||
17 | + array: dividendsReturnedOrder | ||
18 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/removeDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: removeDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 移除分红退货单服务 | ||
7 | + playload: | ||
8 | + - ref: dividendsReturnedOrderId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: dividendsReturnedOrder | ||
12 | + type: | ||
13 | + schema: dividendsReturnedOrder | ||
14 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/searchDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: searchDividendsReturnedOrder | ||
5 | + type: query | ||
6 | + description: 查找分红退货单 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedCustomerName | ||
9 | + description: 退货客户姓名 | ||
10 | + required: false | ||
11 | + - ref: dividendsReturnedOrderNumber | ||
12 | + description: 分红退货单号 | ||
13 | + required: false | ||
14 | + - ref: offset | ||
15 | + required: false | ||
16 | + - ref: limit | ||
17 | + required: false | ||
18 | + result: | ||
19 | + - name: dividendsReturnedOrders | ||
20 | + type: | ||
21 | + array: dividendsReturnedOrder | ||
22 | + required: true |
allied-creation-gateway/services/dividendsReturnedOrder/methods/updateDividendsReturnedOrder.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateDividendsReturnedOrder | ||
5 | + type: command | ||
6 | + description: 更新分红退货单服务 | ||
7 | + payload: | ||
8 | + - ref: dividendsReturnedOrderRefund | ||
9 | + required: true | ||
10 | + - ref: dividendsReturnedCustomerName | ||
11 | + required: true | ||
12 | + - ref: originalOrderNum | ||
13 | + required: true | ||
14 | + - ref: remarks | ||
15 | + required: true | ||
16 | + - ref: dividendsReturnedDate | ||
17 | + required: true | ||
18 | + - name: regionName | ||
19 | + description: 退货区域 | ||
20 | + type: | ||
21 | + primitive: string | ||
22 | + - name: orderGoods | ||
23 | + description: 订单产品列表 | ||
24 | + type: | ||
25 | + array: orderGood | ||
26 | + result: | ||
27 | + - name: dividendsReturnedOrder | ||
28 | + type: | ||
29 | + schema: dividendsReturnedOrder | ||
30 | + required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: AuthCodeToAccessToken | 4 | + name: authCodeToAccessToken |
5 | type: query | 5 | type: query |
6 | description: 获取具体的进入系统的凭证 | 6 | description: 获取具体的进入系统的凭证 |
7 | payload: | 7 | payload: |
@@ -22,3 +22,15 @@ metadata: | @@ -22,3 +22,15 @@ metadata: | ||
22 | description: 登录系统的凭证 | 22 | description: 登录系统的凭证 |
23 | type: | 23 | type: |
24 | primitive: string | 24 | primitive: string |
25 | + - name: expiredAt | ||
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 |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getUserProfile | ||
5 | + type: query | ||
6 | + description: Web获取具体的进入系统的用户配置 | ||
7 | + payload: | ||
8 | + - name: accessToken | ||
9 | + description: 登录认证的凭证 | ||
10 | + type: | ||
11 | + primitive: string | ||
12 | + result: | ||
13 | + - name: menu | ||
14 | + description: 菜单权限信息 | ||
15 | + type: | ||
16 | + array: menu | ||
17 | + - name: user | ||
18 | + description: 用户信息 | ||
19 | + type: | ||
20 | + schema: usersBase | ||
21 | + - name: orgs | ||
22 | + description: 可选组织列表 | ||
23 | + type: | ||
24 | + array: orgs |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: switchOrg | ||
5 | + type: query | ||
6 | + description: 切换公司组织 | ||
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 |
@@ -5,8 +5,9 @@ metadata: | @@ -5,8 +5,9 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 移除组织管理 | 6 | description: 移除组织管理 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - name: orgId |
9 | + type: | ||
10 | + array: int64 | ||
10 | result: | 11 | result: |
11 | - name: org | 12 | - name: org |
12 | type: | 13 | type: |
-
请 注册 或 登录 后发表评论