作者 yangfu
正在显示 100 个修改的文件 包含 1277 行增加21 行删除

要显示太多修改。

为保证性能只显示 100 of 100+ 个文件。

... ... @@ -23,4 +23,5 @@ _testmain.go
*.test
.log
.idea
*.tmp
\ No newline at end of file
*.tmp
.DS_Store
... ...
version: v1
kind: HttpApi
metadata:
service: contractUndertakerFeedback
path: /contract-undertaker-feedbacks
endpoints:
- method: createContractUndertakerFeedback
route:
post: /
- method: updateContractUndertakerFeedback
route:
put: /{contractUndertakerFeedbackId}
- method: getContractUndertakerFeedback
route:
get: /{contractUndertakerFeedbackId}
- method: removeContractUndertakerFeedback
route:
delete: /{contractUndertakerFeedbackId}
- method: searchContractUndertakerFeedback
route:
post: /search
- method: listContractUndertakerFeedback
route:
get: /
params:
- name: offset
- name: limit
... ...
... ... @@ -25,6 +25,9 @@ metadata:
- method: removeCooperationApplication
route:
delete: /{cooperationApplicationId}
- method: searchCooperationApplication
route:
post: /search
- method: listCooperationApplication
route:
get: /
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationContractChangeLog
path: /cooperation-contract-change-logs
endpoints:
- method: createCooperationContractChangeLog
route:
post: /
- method: updateCooperationContractChangeLog
route:
put: /{cooperationContractChangeLogId}
- method: getCooperationContractChangeLog
route:
get: /{cooperationContractChangeLogId}
- method: removeCooperationContractChangeLog
route:
delete: /{cooperationContractChangeLogId}
- method: listCooperationContractChangeLog
route:
get: /
params:
- name: offset
- name: limit
- method: searchCooperationContractChangeLog
route:
post: /search
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationContract
path: /cooperation-contracts
endpoints:
- method: createCooperationContract
route:
post: /
- method: updateCooperationContract
route:
put: /{cooperationContractId}
- method: getCooperationContract
route:
get: /{cooperationContractId}
- method: removeCooperationContract
route:
delete: /{cooperationContractId}
- method: searchCooperationContract
route:
post: /search
- method: listCooperationContract
route:
get: /
params:
- name: offset
- name: limit
... ...
... ... @@ -16,6 +16,9 @@ metadata:
- method: removeCooperationMode
route:
delete: /{cooperationModeId}
- method: searchCooperationMode
route:
post: /search
- method: listCooperationMode
route:
get: /
... ...
... ... @@ -19,6 +19,9 @@ metadata:
- method: removeCooperationProject
route:
delete: /{cooperationProjectId}
- method: searchCooperationProject
route:
post: /search
- method: listCooperationProject
route:
get: /
... ...
version: v1
kind: HttpApi
metadata:
service: dividendsOrder
path: /dividends-orders
endpoints:
- method: createDividendsOrder
route:
post: /
- method: updateDividendsOrder
route:
put: /{dividendsOrderId}
- method: getDividendsOrder
route:
get: /{dividendsOrderId}
- method: removeDividendsOrder
route:
delete: /{dividendsOrderId}
- method: searchDividendsOrder
route:
post: /search
- method: listDividendsOrder
route:
get: /
params:
- name: offset
- name: limit
... ...
version: v1
kind: Attribute
metadata:
name: regionId
description: 区域ID
name: fileSize
description: 附件文件大小
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: fileType
description: 附件文件类型,jpg,pdf
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: name
description: 附件名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: url
description: 附件地址
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: pageNumber
description: 页面大小
type:
primitive: int32
... ...
version: v1
kind: Attribute
metadata:
name: pageSize
description: 页面大小
type:
primitive: int32
... ...
... ... @@ -4,4 +4,4 @@ metadata:
name: feedbackAttachment
description: 合约承接方反馈内容附件
type:
array: string
array: attachment
... ...
... ... @@ -4,4 +4,4 @@ metadata:
name: cooperationApplicationAttachment
description: 共创申请描述附件
type:
array: string
array: attachment
... ...
version: v1
kind: Attribute
metadata:
name: undertaker
name: undertakers
description: 承接人
type:
schema: datetime
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: customerName
description: 客户名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: dividendStatus
description: 分红订单分红状态,1待分红,2已分红,3部分分红
type:
primitive: int32
... ...
version: v1
kind: Attribute
metadata:
name: dividendTime
description: 分红订单分红时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: dividendsOrderAmount
description: 分红订单金额
type:
primitive: float64
... ...
... ... @@ -2,6 +2,6 @@ version: v1
kind: Attribute
metadata:
name: dividendsOrderNumber
description: 分红订单源单
description: 分红订单号
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: dividendsOriginalOrderNum
description: 分红订单原单号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderSalesman
description: 订单业务员
type:
schema: user
... ...
version: v1
kind: Attribute
metadata:
name: orderTime
description: 订单产生时间
type:
primitive: datetime
... ...
version: v1
kind: Attribute
metadata:
name: region
description: 区域
type:
schema: regionInfo
... ...
version: v1
kind: Attribute
metadata:
name: orderNum
name: dividendsOriginalReturnedOrderNum
description: 来源单号,源单号,订单号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: dividendsReturnedId
name: dividendsReturnedOrderId
description: 分红退货单记录ID
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodAmount
description: 订单产品金额
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodExpense
description: 订单产品费用
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodId
description: 订单产品
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodName
description: 订单产品名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodPrice
description: 订单产品单价
type:
primitive: float64
... ...
version: v1
kind: Attribute
metadata:
name: orderGoodQuantity
description: 订单产品数量
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: regionNumber
description: 区域编号
type:
primitive: string
... ...
version: v1
kind: Schema
metadata:
name: attachment
description: 附件对象
attributes:
- ref: fileType
required: true
- ref: name
required: true
- ref: url
required: true
- ref: fileSize
required: true
... ...
... ... @@ -14,6 +14,8 @@ metadata:
required: true
- ref: contractUndertaker
required: true
- ref: cooperationMode
required: true
- ref: organization
required: true
- ref: updatedAt
... ... @@ -21,4 +23,5 @@ metadata:
- ref: deletedAt
required: true
- ref: createdAt
description: 反馈创建时间,同时也作为反馈时间
required: true
... ...
version: v1
kind: Schema
metadata:
name: cooperationContractChangeLog
description: 共创合约变更日志
attributes:
- ref: incentivesRule
required: true
- ref: incentivesRuleDetail
required: true
- ref: operationType
required: true
- ref: cooperationContractNumber
required: true
- ref: undertakers
required: true
- ref: operator
required: true
- ref: updatedAt
required: true
- ref: deletedAt
required: true
- ref: createdAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: dividendsIncentivesRule
description: 金额激励规则实体
attributes:
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
- ref: dividendsIncentivesPercentage
required: true
- ref: dividendsIncentivesStage
required: true
- ref: dividendsIncentivesStageEnd
required: true
- ref: dividendsIncentivesStageStart
required: true
... ...
version: v1
kind: Schema
metadata:
name: dividendsOrder
description: 分红订单实体
attributes:
- ref: dividendsOrderId
required: true
- ref: dividendsOrderNumber
required: true
- ref: dividendsOriginalOrderNum
required: true
- ref: dividendsOrderAmount
required: true
- ref: orderSalesman
required: true
- ref: orderTime
required: true
- ref: dividendTime
required: true
- ref: dividendStatus
required: true
- ref: region
required: true
- ref: customerName
description: 客户姓名
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
- ref: operateTime
required: true
- ref: operator
required: true
... ...
version: v1
kind: Schema
metadata:
name: moneyIncentivesRule
description: 金额激励规则实体
attributes:
- ref: moneyIncentivesAmount
required: true
- ref: moneyIncentivesStage
required: true
- ref: moneyIncentivesStageEnd
required: true
- ref: moneyIncentivesStageStart
required: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderGood
description: 订单产品领域实体
attributes:
- ref: orderGoodId
required: true
- ref: orderGoodAmount
required: true
- ref: orderGoodName
required: true
- ref: orderGoodPrice
required: true
- ref: orderGoodQuantity
required: true
- ref: dividendsOrderNumber
description: 关联分红订单号
required: true
- ref: cooperationContractNumber
description: 关联的共创合约编号
required: true
- ref: orderGoodExpense
description: 订单产品费用
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
version: v1
kind: Schema
metadata:
name: orderGood
description: 订单产品对象
attributes:
- ref: orderGoodAmount
required: true
- ref: orderGoodName
required: true
- ref: orderGoodPrice
required: true
- ref: orderGoodQuantity
required: true
- ref: dividendsOrderNumber
description: 关联分红订单号
required: true
- ref: cooperationContractNumber
description: 关联的共创合约编号
required: true
- ref: orderGoodExpense
description: 订单产品费用
required: true
- ref: createdAt
required: true
- ref: deletedAt
required: true
- ref: updatedAt
required: true
... ...
... ... @@ -4,7 +4,7 @@ metadata:
name: regionInfo
description: 区域信息值对象
attributes:
- ref: regionId
- ref: regionNumber
required: true
- ref: regionName
required: true
... ...
version: v1
kind: Schema
metadata:
name: relevant
description: 共创合约相关人
attributes:
- ref: userId
required: true
- ref: orgnization
required: true
- ref: role
required: true
- ref: userInfo
required: true
- ref: userType
required: true
- ref: status
required: true
- ref: company
required: true
... ...
version: v1
kind: Schema
metadata:
name: undertaker
description: 共创合约承接方
attributes:
- ref: userId
required: true
- ref: orgnization
required: true
- ref: role
required: true
- ref: userInfo
required: true
- ref: userType
required: true
- ref: status
required: true
- ref: company
required: true
- name: contractAttachment
description: 合同附件
type:
array: attachment
... ...
version: v1
kind: Method
metadata:
name: createContractUndertakerFeedback
type: command
description: 创建共创合约反馈服务
payload:
- ref: feedbackAttachment
required: true
- ref: feedbackContent
required: true
- ref: cooperationContractNumber
required: true
- name: underTakerUid
description: 承接人uid
type:
primitive: string
result:
- name: contractUndertakerFeedback
type:
schema: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Method
metadata:
name: getContractUndertakerFeedback
type: query
description: 返回共创合约反馈服务
payload:
- ref: contractUndertakerFeedbackId
required: true
- name: underTakerUid
description: Attribute描述
type:
primitive: string
result:
- name: contractUndertakerFeedback
type:
schema: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Method
metadata:
name: listContractUndertakerFeedback
type: query
description: 返回共创合约反馈服务列表
payload:
- ref: offset
required: true
- ref: limit
required: true
- name: underTakerUid
description: Attribute描述
type:
primitive: string
result:
- ref: count
required: true
- name: contractUndertakerFeedbacks
type:
array: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Method
metadata:
name: removeContractUndertakerFeedback
type: command
description: 移除共创合约反馈服务
payload:
- ref: contractUndertakerFeedbackId
required: true
- name: underTakerUid
description: Attribute描述
type:
primitive: string
result:
- name: contractUndertakerFeedback
type:
schema: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Method
metadata:
name: searchContractUndertakerFeedback
type: query
description: 查询共创承接方反馈信息
payload:
- ref: pageNumber
required: true
- ref: pageSize
required: true
- ref: cooperationContractName
required: true
- name: undertakerName
description: 承接人姓名
type:
primitive: string
result:
- name: contractUndertakerFeedbacks
type:
array: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Method
metadata:
name: updateContractUndertakerFeedback
type: command
description: 更新共创合约反馈服务
payload:
- ref: feedbackAttachment
required: true
- ref: feedbackContent
required: true
- ref: cooperationContractNumber
required: true
- name: underTakerUid
description: 承接人用户uid
type:
primitive: string
result:
- name: contractUndertakerFeedback
type:
schema: contractUndertakerFeedback
required: true
... ...
version: v1
kind: Service
metadata:
name: contractUndertakerFeedback
description: 共创合约反馈服务
... ...
version: v1
kind: Method
metadata:
name: searchCooperationApplication
type: query
description: 查询共创申请
payload:
- ref: cooperationProjectName
required: true
- name: applicantName
description: 申请人姓名
type:
primitive: string
- ref: pageSize
required: false
- ref: pageNumber
required: false
result:
- name: cooperationApplications
type:
array: cooperationApplication
required: true
... ...
... ... @@ -5,7 +5,17 @@ metadata:
type: command
description: 更新共创申请服务
payload:
- ref: cooperationApplicationId
- name: applicantUid
description: 共创申请人uid
type:
primitive: string
required: true
- ref: cooperationApplicationDescription
required: false
- ref: cooperationApplicationAttachment
required: false
- ref: cooperationProjectNumber
description: 关联的共创项目编号
required: true
result:
- name: cooperationApplication
... ...
version: v1
kind: Method
metadata:
name: createCooperationContract
type: command
description: 创建共创合约服务
payload:
- ref: cooperationContractDescription
required: true
- ref: cooperationContractNumber
required: true
- ref: cooperationProjectNumber
required: true
- ref: departmentNumber
description: 共创合约发起部门编码
required: true
- ref: cooperationContractUndertakerType
required: true
- ref: cooperationContractName
required: true
- ref: cooperationModeNumber
required: true
- name: sponsorUid
description: 共创合约发起人uid
type:
primitive: string
- name: dividendsIncentivesRules
description: 业绩分红激励规则列表
type:
array: dividendsIncentivesRules
- name: moneyIncentivesRules
description: 金额激励规则列表
type:
array: moneyIncentivesRules
- name: undertakers
description: 承接方列表
type:
array: undertaker
- name: relevants
description: 相关人列表
type:
array: relevant
result:
- name: cooperationContract
type:
schema: cooperationContract
required: true
... ...
version: v1
kind: Method
metadata:
name: getCooperationContract
type: query
description: 返回共创合约服务
payload:
- ref: cooperationContractId
required: true
- name: sponsorUid
description: Attribute描述
type:
primitive: string
result:
- name: cooperationContract
type:
schema: cooperationContract
required: true
... ...
version: v1
kind: Method
metadata:
name: listCooperationContract
type: query
description: 返回共创合约服务列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: cooperationContracts
type:
array: cooperationContract
required: true
... ...
version: v1
kind: Method
metadata:
name: removeCooperationContract
type: command
description: 移除共创合约服务
payload:
- ref: cooperationContractId
required: true
result:
- name: cooperationContract
type:
schema: cooperationContract
required: true
... ...
version: v1
kind: Method
metadata:
name: searchCooperationContract
type: query
description: 查询共创合约
payload:
- ref: pageSize
required: true
- ref: pageNumber
required: true
- ref: cooperationContractNumber
required: true
- name: sponsorName
description: 发起人姓名
type:
primitive: string
result:
- name: cooperationContracts
type:
array: cooperationContract
required: true
... ...
version: v1
kind: Method
metadata:
name: updateCooperationContract
type: command
description: 更新共创合约服务
payload:
- ref: cooperationContractDescription
required: true
- ref: cooperationContractNumber
required: true
- ref: cooperationProjectNumber
required: true
- ref: departmentNumber
required: true
- ref: cooperationContractUndertakerType
required: true
- ref: cooperationContractName
required: true
- ref: cooperationModeNumber
required: true
- name: sponsorUid
description: 共创合约发起人uid
type:
primitive: string
result:
- name: cooperationContract
type:
schema: cooperationContract
required: true
... ...
version: v1
kind: Service
metadata:
name: cooperationContract
description: 共创合约服务
... ...
version: v1
kind: Method
metadata:
name: createCooperationContractChangeLog
type: command
description: 创建共创合约变更日志
payload:
- ref: incentivesRule
required: true
- ref: incentivesRuleDetail
required: true
- ref: operationType
required: true
- ref: undertakers
required: true
- ref: cooperationContractNumber
required: true
result:
- name: cooperationContractChangeLog
type:
schema: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Method
metadata:
name: getCooperationContractChangeLog
type: query
description: 返回共创合约变更日志
payload:
- ref: cooperationContractChangeLogId
required: true
result:
- name: cooperationContractChangeLog
type:
schema: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Method
metadata:
name: listCooperationContractChangeLog
type: query
description: 返回共创合约变更日志列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: cooperationContractChangeLogs
type:
array: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Method
metadata:
name: removeCooperationContractChangeLog
type: command
description: 移除共创合约变更日志
payload:
- ref: cooperationContractChangeLogId
required: true
result:
- name: cooperationContractChangeLog
type:
schema: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Method
metadata:
name: searchCooperationContractChangeLog
type: query
description: 共创合约变更记录搜索
payload:
- ref: operationType
required: false
- ref: cooperationContractNumber
required: false
- ref: pageSize
required: false
- ref: pageNumber
required: false
result:
- name: cooperationContractChangeLogs
type:
array: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Method
metadata:
name: updateCooperationContractChangeLog
type: command
description: 更新共创合约变更日志
payload:
- ref: incentivesRule
required: true
- ref: incentivesRuleDetail
required: true
- ref: operationType
required: true
- ref: undertakers
required: true
- ref: cooperationContractNumber
required: true
result:
- name: cooperationContractChangeLog
type:
schema: cooperationContractChangeLog
required: true
... ...
version: v1
kind: Service
metadata:
name: cooperationContractChangeLog
description: 共创合约变更日志
... ...
version: v1
kind: Method
metadata:
name: searchCooperationContract
type: query
description: 查询共创模式
payload:
- ref: pageNumber
required: true
- ref: pageSize
required: true
- ref: cooperationModeName
required: true
- name: organizationName
description: 组织机构名称
type:
primitive: string
result:
- name: cooperationModes
type:
array: cooperationMode
required: true
... ...
... ... @@ -5,7 +5,11 @@ metadata:
type: command
description: 更新共创模式服务
payload:
- ref: cooperationModeId
- ref: cooperationModeName
required: true
- ref: cooperationModeNumber
required: true
- ref: remarks
required: true
result:
- name: cooperationMode
... ...
version: v1
kind: Method
metadata:
name: searchCooperationProject
type: query
description: 查询共创项目
payload:
- ref: pageNumber
required: true
- ref: pageSize
required: true
- ref: cooperationProjectName
required: true
- ref: departmentName
required: true
result:
- name: cooperationProjects
type:
array: cooperationProject
required: true
... ...
... ... @@ -5,8 +5,23 @@ metadata:
type: command
description: 更新共创项目服务
payload:
- ref: cooperationProjectId
- ref: cooperationProjectName
required: true
- ref: coopeartionProjectUndertakerType
description: 承接对象,1员工,2共创用户,3公开,可以多选
required: true
- name: sponsorUid
description: 共创项目发起人uid
type:
primitive: string
required: true
- name: publisherUid
description: 共创项目发布人uid
type:
primitive: string
required: true
- ref: cooperationProjectDescription
required: false
result:
- name: cooperationProject
type:
... ...
... ... @@ -3,7 +3,7 @@ kind: Method
metadata:
name: createDividendsIncentivesRule
type: command
description: 创建业绩分红激励规则服务
description: 创建业绩分红激励规则服务,聚合到共创项目合约
payload:
- ref: cooperationContractNumber
required: true
... ...
... ... @@ -5,7 +5,19 @@ metadata:
type: command
description: 更新业绩分红激励规则服务
payload:
- ref: dividendsIncentivesRuleId
- ref: cooperationContractNumber
required: true
- ref: dividendsIncentivesPercentage
required: true
- ref: dividendsIncentivesStage
required: true
- ref: dividendsIncentivesStageStart
required: true
- ref: dividendsIncentivesStageEnd
requried: true
- ref: referrerPercentage
required: true
- ref: salesmanPercentage
required: true
result:
- name: dividendsIncentivesRule
... ...
version: v1
kind: Method
metadata:
name: createDividendsOrder
type: command
description: 创建分红订单实体对象
payload:
- ref: customerName
required: true
- ref: dividendsOrderAmount
required: true
- ref: dividendsOrderNumber
required: true
- ref: dividendsOriginalOrderNum
required: true
- ref: orderTime
required: true
- ref: remarks
required: true
- name: salesmanUid
description: 订单业务员uid
type:
primitive: string
- name: operatorUid
description: 订单操作人uid
type:
primitive: string
- name: orderGoods
description: 订单产品列表
type:
array: orderGoods
result:
- name: dividendsOrder
type:
schema: dividendsOrder
required: true
... ...
version: v1
kind: Method
metadata:
name: getDividendsOrder
type: query
description: 返回分红订单实体对象
payload:
- ref: dividendsOrderId
required: true
result:
- name: dividendsOrder
type:
schema: dividendsOrder
required: true
... ...
version: v1
kind: Method
metadata:
name: listDividendsOrders
type: query
description: 返回分红订单实体对象列表
payload:
- ref: offset
required: true
- ref: limit
required: true
result:
- ref: count
required: true
- name: dividendsOrders
type:
array: dividendsOrder
required: true
... ...
version: v1
kind: Method
metadata:
name: removeDividendsOrder
type: command
description: 移除分红订单实体对象
payload:
- ref: dividendsOrderId
required: true
result:
- name: dividendsOrder
type:
schema: dividendsOrder
required: true
... ...
version: v1
kind: Method
metadata:
name: searchDividendsOrder
type: query
description: 查询分红订单方法
payload:
- ref: dividendsOrderNumber
required: false
- ref: customerName
required: false
- ref: pageSize
required: false
- ref: pageNumber
required: false
result:
- name: dividendsOrders
type:
array: dividendsOrder
required: true
... ...
version: v1
kind: Method
metadata:
name: updateDividendsOrder
type: command
description: 更新分红订单实体对象
payload:
- ref: customerName
required: true
- ref: dividendsOrderAmount
required: true
- ref: dividendsOrderNumber
required: true
- ref: dividendsOriginalOrderNum
required: true
- ref: orderTime
required: true
- ref: remarks
required: true
- name: salesmanUid
description: Attribute描述
type:
primitive: string
- name: operatorUid
description: Attribute描述
type:
primitive: string
result:
- name: dividendsOrder
type:
schema: dividendsOrder
required: true
... ...
version: v1
kind: Service
metadata:
name: dividendsOrder
description: 分红订单实体对象
... ...
... ... @@ -3,7 +3,7 @@ kind: Method
metadata:
name: createMoneyIncentivesRule
type: command
description: 创建项目金额激励规则服务
description: 创建项目金额激励规则服务,聚合到共创合约
payload:
- ref: moneyIncentivesStageEnd
required: true
... ...
... ... @@ -15,8 +15,6 @@ metadata:
required: true
- ref: cooperationContractNumber
required: true
- ref: moneyIncentivesRulesId
required: true
result:
- name: moneyIncentivesRule
type:
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationApplication
path: /cooperation-applications
endpoints:
- method: createCooperationApplication
route:
post: /
- method: updateCooperationApplication
route:
put: /{applicationId}
- method: getCooperationApplication
route:
get: /{applicationId}
- method: listCooperationApplication
route:
get: /
params:
- name: offset
- name: limit
- method: auditCooperationApplication
route:
put: /audit
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationMode
path: /cooperation-modes
endpoints:
- method: createCooperationMode
route:
post: /
- method: updateCooperationMode
route:
put: /{modeId}
- method: getCooperationMode
route:
get: /{modeId}
- method: removeCooperationMode
route:
delete: /{modeId}
- method: listCooperationMode
route:
get: /
params:
- name: offset
- name: limit
... ...
version: v1
kind: HttpApi
metadata:
service: cooperationProject
path: /cooperation-projects
endpoints:
- method: createCooperationProject
route:
post: /
- method: updateCooperationProject
route:
put: /{projectId}
- method: getCooperationProject
route:
get: /{projectId}
- method: listCooperationProject
route:
get: /
params:
- name: offset
- name: limit
... ...
version: v1
kind: Attribute
metadata:
name: attachmentName
description: 附件名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: attachmentType
description: 附件类型
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: attachmentUrl
description: 附件下载地址
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: fileSize
description: 文件大小
type:
primitive: string
... ...
... ... @@ -3,5 +3,5 @@ kind: Attribute
metadata:
name: cooperationApplicationAttachment
description: 共创申请描述附件
type:
array: string
type:
array: attachment
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractDescription
description: 共创合约描述
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractId
description: 共创合约ID
type:
primitive: int64
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractIncentivesRules
description: 共创合约激励规则列表
type:
array: dividendsIncentivesRules
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractName
description: 共创合约名称
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractNumber
description: 共创合约编号
type:
primitive: string
... ...
version: v1
kind: Attribute
metadata:
name: cooperationContractSponsor
description: 共创合约发起人
type:
schema: user
... ...