作者 陈志颖

docs:修改订单dsl

... ... @@ -3,15 +3,16 @@ kind: Method
metadata:
name: cancel
type: command
description: 取消订单领域服务
description: 取消订单服务
payload:
- ref: orderNo
required: true
- ref: buyer
required: true
- ref: partnerId
description: 订单编号
required: true
- ref: companyId
description: 公司id
required: true
- ref: operator
description: 操作人
required: true
result:
- name: order
... ...
... ... @@ -3,9 +3,13 @@ kind: Method
metadata:
name: darwDividends
type: command
description: 订单分红领域服务
description: 订单分红服务
payload:
- ref: partnerId
description: 参与分红的合伙人
required: true
- ref: orderNo
description: 进行分红的订单编号
required: true
result:
- name: order
... ...
... ... @@ -3,15 +3,16 @@ kind: Method
metadata:
name: receiving
type: command
description: 订单收货领域服务
description: 订单收货服务
payload:
- ref: orderNo
description: 订单号
required: true
- ref: partnerId
required: true
- ref: buyer
- ref: operator
description: 操作人
required: true
- ref: companyId
description: 公司id
required: true
result:
- name: order
... ...
... ... @@ -3,15 +3,16 @@ kind: Method
metadata:
name: return
type: command
description: 订单退货领域服务
description: 订单退货服务
payload:
- ref: orderNo
description: 订单号
required: true
- ref: buyer
required: true
- ref: partnerId
- ref: operator
description: 操作人
required: true
- ref: companyId
description: 公司id
required: true
result:
- name: order
... ...
version: v1
kind: Method
metadata:
name: delivery
name: shipping
type: command
description: 订单发货领域服务
description: 订单发货服务
payload:
- ref: deliveryCode
required: true
- ref: companyId
description: 发货单号
required: true
- ref: orderNo
description: 订单编号
required: true
- ref: orderNum
required: true
- ref: orderStatus
required: true
- ref: orderType
required: true
- ref: companyId
description: 订单数量
required: true
result:
- name: order
... ...