Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go-pp/partner01 into dev
正在显示
16 个修改的文件
包含
176 行增加
和
28 行删除
@@ -16,7 +16,7 @@ metadata: | @@ -16,7 +16,7 @@ metadata: | ||
16 | required: true | 16 | required: true |
17 | - ref: goodsTotalPrice | 17 | - ref: goodsTotalPrice |
18 | required: true | 18 | required: true |
19 | - - ref: remark | 19 | + - ref: remarks |
20 | required: true | 20 | required: true |
21 | - ref: orderNo | 21 | - ref: orderNo |
22 | required: true | 22 | required: true |
document/partner01/schemas/orderLog.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: orderLog | ||
5 | + description: 订单操作日志 | ||
6 | + attributes: | ||
7 | + - ref: description | ||
8 | + required: true | ||
9 | + - ref: goodsId | ||
10 | + required: true | ||
11 | + - ref: operatingTime | ||
12 | + required: true | ||
13 | + - ref: operation | ||
14 | + required: true | ||
15 | + - ref: operator | ||
16 | + required: true | ||
17 | + - ref: orderLogId | ||
18 | + required: true | ||
19 | + - ref: source | ||
20 | + required: true | ||
21 | + - ref: orderNo | ||
22 | + required: true |
@@ -4,14 +4,14 @@ metadata: | @@ -4,14 +4,14 @@ metadata: | ||
4 | name: partner | 4 | name: partner |
5 | description: 合伙人实体 | 5 | description: 合伙人实体 |
6 | attributes: | 6 | attributes: |
7 | + - ref: partnerId | ||
8 | + required: true | ||
7 | - ref: cooperateTime | 9 | - ref: cooperateTime |
8 | required: true | 10 | required: true |
9 | - ref: partnerCategory | 11 | - ref: partnerCategory |
10 | required: true | 12 | required: true |
11 | - ref: partnerCategoryInfos | 13 | - ref: partnerCategoryInfos |
12 | required: true | 14 | required: true |
13 | - - ref: partnerId | ||
14 | - required: true | ||
15 | - ref: partnerInfo | 15 | - ref: partnerInfo |
16 | required: true | 16 | required: true |
17 | - ref: salesman | 17 | - ref: salesman |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: cancel | ||
5 | + type: command | ||
6 | + description: 取消订单服务 | ||
7 | + payload: | ||
8 | + - ref: orderNo | ||
9 | + description: 订单编号 | ||
10 | + required: true | ||
11 | + - ref: companyId | ||
12 | + description: 公司id | ||
13 | + required: true | ||
14 | + - ref: operator | ||
15 | + description: 操作人 | ||
16 | + required: true | ||
17 | + result: | ||
18 | + - name: order | ||
19 | + type: | ||
20 | + schema: order |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: darwDividends | ||
5 | + type: command | ||
6 | + description: 订单分红服务 | ||
7 | + payload: | ||
8 | + - ref: partnerId | ||
9 | + description: 参与分红的合伙人 | ||
10 | + required: true | ||
11 | + - ref: orderNo | ||
12 | + description: 进行分红的订单编号 | ||
13 | + required: true | ||
14 | + result: | ||
15 | + - name: order | ||
16 | + type: | ||
17 | + schema: order |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: receiving | ||
5 | + type: command | ||
6 | + description: 订单收货服务 | ||
7 | + payload: | ||
8 | + - ref: orderNo | ||
9 | + description: 订单号 | ||
10 | + required: true | ||
11 | + - ref: operator | ||
12 | + description: 操作人 | ||
13 | + required: true | ||
14 | + - ref: companyId | ||
15 | + description: 公司id | ||
16 | + required: true | ||
17 | + result: | ||
18 | + - name: order | ||
19 | + type: | ||
20 | + schema: order |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: return | ||
5 | + type: command | ||
6 | + description: 订单退货服务 | ||
7 | + payload: | ||
8 | + - ref: orderNo | ||
9 | + description: 订单号 | ||
10 | + required: true | ||
11 | + - ref: operator | ||
12 | + description: 操作人 | ||
13 | + required: true | ||
14 | + - ref: companyId | ||
15 | + description: 公司id | ||
16 | + required: true | ||
17 | + result: | ||
18 | + - name: order | ||
19 | + type: | ||
20 | + schema: order |
1 | version: v1 | 1 | version: v1 |
2 | kind: Method | 2 | kind: Method |
3 | metadata: | 3 | metadata: |
4 | - name: delivery | 4 | + name: shipping |
5 | type: command | 5 | type: command |
6 | - description: 订单发货领域服务 | 6 | + description: 订单发货服务 |
7 | payload: | 7 | payload: |
8 | - ref: deliveryCode | 8 | - ref: deliveryCode |
9 | - required: true | ||
10 | - - ref: companyId | ||
11 | - required: true | ||
12 | - - ref: orderId | 9 | + description: 发货单号 |
13 | required: true | 10 | required: true |
14 | - ref: orderNo | 11 | - ref: orderNo |
12 | + description: 订单编号 | ||
15 | required: true | 13 | required: true |
16 | - ref: orderNum | 14 | - ref: orderNum |
17 | - required: true | ||
18 | - - ref: orderStatus | ||
19 | - required: true | ||
20 | - - ref: orderType | 15 | + description: 订单数量 |
21 | required: true | 16 | required: true |
22 | result: | 17 | result: |
23 | - - ref: orderId | ||
24 | - required: true | ||
25 | - - ref: orderNo | ||
26 | - required: true | ||
27 | - - ref: orderNum | ||
28 | - required: true | ||
29 | - - ref: orderStatus | ||
30 | - required: true | ||
31 | - - ref: orderTotalPrice | ||
32 | - required: true | ||
33 | - - ref: orderType | ||
34 | - required: true | ||
35 | - name: order | 18 | - name: order |
36 | type: | 19 | type: |
37 | schema: order | 20 | schema: order |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listPartner | ||
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: partner | ||
16 | + type: | ||
17 | + schema: partner |
-
请 注册 或 登录 后发表评论