作者 陈志颖

docs:增加订单基础服务

@@ -24,8 +24,6 @@ metadata: @@ -24,8 +24,6 @@ metadata:
24 required: true 24 required: true
25 - ref: orderId 25 - ref: orderId
26 required: true 26 required: true
27 - - ref: dataSource  
28 - required: true  
29 - ref: companyId 27 - ref: companyId
30 required: true 28 required: true
31 - name: reason 29 - name: reason
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createOrder
  5 + type: command
  6 + description: 创建订单增删改查
  7 + payload:
  8 + - ref: orderCode
  9 + required: true
  10 + result:
  11 + - name: order
  12 + type:
  13 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getOrder
  5 + type: query
  6 + description: 返回订单增删改查
  7 + payload:
  8 + - ref: orderId
  9 + required: true
  10 + result:
  11 + - name: order
  12 + type:
  13 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: listOrder
  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: order
  16 + type:
  17 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: removeOrder
  5 + type: command
  6 + description: 移除订单增删改查
  7 + payload:
  8 + - ref: orderId
  9 + required: true
  10 + result:
  11 + - name: order
  12 + type:
  13 + schema: order
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updateOrder
  5 + type: command
  6 + description: 更新订单增删改查
  7 + payload:
  8 + - ref: orderId
  9 + required: true
  10 + result:
  11 + - name: order
  12 + type:
  13 + schema: order
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: order
  5 + description: 订单基础服务