作者 陈志颖

docs:添加合伙人CRUD

  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: createPartner
  5 + type: command
  6 + description: 创建合伙人增删改查
  7 + result:
  8 + - name: partner
  9 + type:
  10 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: getPartner
  5 + type: query
  6 + description: 返回合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner
  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
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: removePartner
  5 + type: command
  6 + description: 移除合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: updatePartner
  5 + type: command
  6 + description: 更新合伙人增删改查
  7 + payload:
  8 + - ref: partnerId
  9 + required: true
  10 + result:
  11 + - name: partner
  12 + type:
  13 + schema: partner