作者 陈志颖

docs:增加订单基础服务

... ... @@ -24,8 +24,6 @@ metadata:
required: true
- ref: orderId
required: true
- ref: dataSource
required: true
- ref: companyId
required: true
- name: reason
... ...
version: v1
kind: Method
metadata:
name: createOrder
type: command
description: 创建订单增删改查
payload:
- ref: orderCode
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: getOrder
type: query
description: 返回订单增删改查
payload:
- ref: orderId
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: listOrder
type: query
description: 返回订单增删改查列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: removeOrder
type: command
description: 移除订单增删改查
payload:
- ref: orderId
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Method
metadata:
name: updateOrder
type: command
description: 更新订单增删改查
payload:
- ref: orderId
required: true
result:
- name: order
type:
schema: order
... ...
version: v1
kind: Service
metadata:
name: order
description: 订单基础服务
... ...