作者 陈志颖

docs:修改订单dsl

@@ -3,15 +3,16 @@ kind: Method @@ -3,15 +3,16 @@ kind: Method
3 metadata: 3 metadata:
4 name: cancel 4 name: cancel
5 type: command 5 type: command
6 - description: 取消订单领域服务 6 + description: 取消订单服务
7 payload: 7 payload:
8 - ref: orderNo 8 - ref: orderNo
9 - required: true  
10 - - ref: buyer  
11 - required: true  
12 - - ref: partnerId 9 + description: 订单编号
13 required: true 10 required: true
14 - ref: companyId 11 - ref: companyId
  12 + description: 公司id
  13 + required: true
  14 + - ref: operator
  15 + description: 操作人
15 required: true 16 required: true
16 result: 17 result:
17 - name: order 18 - name: order
@@ -3,9 +3,13 @@ kind: Method @@ -3,9 +3,13 @@ kind: Method
3 metadata: 3 metadata:
4 name: darwDividends 4 name: darwDividends
5 type: command 5 type: command
6 - description: 订单分红领域服务 6 + description: 订单分红服务
7 payload: 7 payload:
  8 + - ref: partnerId
  9 + description: 参与分红的合伙人
  10 + required: true
8 - ref: orderNo 11 - ref: orderNo
  12 + description: 进行分红的订单编号
9 required: true 13 required: true
10 result: 14 result:
11 - name: order 15 - name: order
@@ -3,15 +3,16 @@ kind: Method @@ -3,15 +3,16 @@ kind: Method
3 metadata: 3 metadata:
4 name: receiving 4 name: receiving
5 type: command 5 type: command
6 - description: 订单收货领域服务 6 + description: 订单收货服务
7 payload: 7 payload:
8 - ref: orderNo 8 - ref: orderNo
  9 + description: 订单号
9 required: true 10 required: true
10 - - ref: partnerId  
11 - required: true  
12 - - ref: buyer 11 + - ref: operator
  12 + description: 操作人
13 required: true 13 required: true
14 - ref: companyId 14 - ref: companyId
  15 + description: 公司id
15 required: true 16 required: true
16 result: 17 result:
17 - name: order 18 - name: order
@@ -3,15 +3,16 @@ kind: Method @@ -3,15 +3,16 @@ kind: Method
3 metadata: 3 metadata:
4 name: return 4 name: return
5 type: command 5 type: command
6 - description: 订单退货领域服务 6 + description: 订单退货服务
7 payload: 7 payload:
8 - ref: orderNo 8 - ref: orderNo
  9 + description: 订单号
9 required: true 10 required: true
10 - - ref: buyer  
11 - required: true  
12 - - ref: partnerId 11 + - ref: operator
  12 + description: 操作人
13 required: true 13 required: true
14 - ref: companyId 14 - ref: companyId
  15 + description: 公司id
15 required: true 16 required: true
16 result: 17 result:
17 - name: order 18 - name: 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 9 + description: 发货单号
11 required: true 10 required: true
12 - ref: orderNo 11 - ref: orderNo
  12 + description: 订单编号
13 required: true 13 required: true
14 - ref: orderNum 14 - ref: orderNum
15 - required: true  
16 - - ref: orderStatus  
17 - required: true  
18 - - ref: orderType  
19 - required: true  
20 - - ref: companyId 15 + description: 订单数量
21 required: true 16 required: true
22 result: 17 result:
23 - name: order 18 - name: order