Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
30 个修改的文件
包含
231 行增加
和
2 行删除
| 1 | version: v1 | 1 | version: v1 |
| 2 | kind: Schema | 2 | kind: Schema |
| 3 | metadata: | 3 | metadata: |
| 4 | - name: dividendsIncentivesRules | 4 | + name: dividendsIncentivesRule |
| 5 | description: 金额激励规则实体 | 5 | description: 金额激励规则实体 |
| 6 | attributes: | 6 | attributes: |
| 7 | - ref: dividendsIncentivesRuleId | 7 | - ref: dividendsIncentivesRuleId |
| 8 | required: true | 8 | required: true |
| 9 | + - ref: cooperationContractNumber | ||
| 10 | + description: 关联的项目合约编号 | ||
| 11 | + required: true | ||
| 9 | - ref: referrerPercentage | 12 | - ref: referrerPercentage |
| 10 | required: true | 13 | required: true |
| 11 | - ref: salesmanPercentage | 14 | - ref: salesmanPercentage |
| 1 | version: v1 | 1 | version: v1 |
| 2 | kind: Schema | 2 | kind: Schema |
| 3 | metadata: | 3 | metadata: |
| 4 | - name: moneyIncentivesRules | 4 | + name: moneyIncentivesRule |
| 5 | description: 金额激励规则实体 | 5 | description: 金额激励规则实体 |
| 6 | attributes: | 6 | attributes: |
| 7 | - ref: moneyIncentivesRuleId | 7 | - ref: moneyIncentivesRuleId |
| 8 | required: true | 8 | required: true |
| 9 | + - ref: cooperationContractNumber | ||
| 10 | + description: 关联的共创合约编号 | ||
| 11 | + required: true | ||
| 9 | - ref: moneyIncentivesAmount | 12 | - ref: moneyIncentivesAmount |
| 10 | required: true | 13 | required: true |
| 11 | - ref: moneyIncentivesStage | 14 | - ref: moneyIncentivesStage |
| @@ -5,6 +5,18 @@ metadata: | @@ -5,6 +5,18 @@ metadata: | ||
| 5 | type: command | 5 | type: command |
| 6 | description: 创建共创申请服务 | 6 | description: 创建共创申请服务 |
| 7 | payload: | 7 | payload: |
| 8 | + - name: applicantUid | ||
| 9 | + description: 共创申请人uid | ||
| 10 | + type: | ||
| 11 | + primitive: string | ||
| 12 | + required: true | ||
| 13 | + - ref: cooperationApplicationDescription | ||
| 14 | + required: false | ||
| 15 | + - ref: cooperationApplicationAttachment | ||
| 16 | + required: false | ||
| 17 | + - ref: cooperationProjectNumber | ||
| 18 | + description: 关联的共创项目编号 | ||
| 19 | + required: true | ||
| 8 | result: | 20 | result: |
| 9 | - name: cooperationApplication | 21 | - name: cooperationApplication |
| 10 | type: | 22 | type: |
| @@ -5,6 +5,12 @@ metadata: | @@ -5,6 +5,12 @@ metadata: | ||
| 5 | type: command | 5 | type: command |
| 6 | description: 创建共创模式服务 | 6 | description: 创建共创模式服务 |
| 7 | payload: | 7 | payload: |
| 8 | + - ref: cooperationModeName | ||
| 9 | + required: true | ||
| 10 | + - ref: cooperationModeNumber | ||
| 11 | + required: true | ||
| 12 | + - ref: remarks | ||
| 13 | + required: true | ||
| 8 | result: | 14 | result: |
| 9 | - name: cooperationMode | 15 | - name: cooperationMode |
| 10 | type: | 16 | type: |
| @@ -5,6 +5,23 @@ metadata: | @@ -5,6 +5,23 @@ metadata: | ||
| 5 | type: command | 5 | type: command |
| 6 | description: 创建共创项目服务 | 6 | description: 创建共创项目服务 |
| 7 | payload: | 7 | payload: |
| 8 | + - ref: cooperationProjectName | ||
| 9 | + required: true | ||
| 10 | + - ref: coopeartionProjectUndertakerType | ||
| 11 | + description: 承接对象,1员工,2共创用户,3公开,可以多选 | ||
| 12 | + required: true | ||
| 13 | + - name: sponsorUid | ||
| 14 | + description: 共创项目发起人uid | ||
| 15 | + type: | ||
| 16 | + primitive: string | ||
| 17 | + required: true | ||
| 18 | + - name: publisherUid | ||
| 19 | + description: 共创项目发布人uid | ||
| 20 | + type: | ||
| 21 | + primitive: string | ||
| 22 | + required: true | ||
| 23 | + - ref: cooperationProjectDescription | ||
| 24 | + required: false | ||
| 8 | result: | 25 | result: |
| 9 | - name: cooperationProject | 26 | - name: cooperationProject |
| 10 | type: | 27 | type: |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: createDividendsIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 创建业绩分红激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: cooperationContractNumber | ||
| 9 | + required: true | ||
| 10 | + - ref: dividendsIncentivesPercentage | ||
| 11 | + required: true | ||
| 12 | + - ref: dividendsIncentivesStage | ||
| 13 | + required: true | ||
| 14 | + - ref: dividendsIncentivesStageStart | ||
| 15 | + required: true | ||
| 16 | + - ref: dividendsIncentivesStageEnd | ||
| 17 | + requried: true | ||
| 18 | + - ref: referrerPercentage | ||
| 19 | + required: true | ||
| 20 | + - ref: salesmanPercentage | ||
| 21 | + required: true | ||
| 22 | + result: | ||
| 23 | + - name: dividendsIncentivesRule | ||
| 24 | + type: | ||
| 25 | + schema: dividendsIncentivesRule | ||
| 26 | + required: true |
allied-creation-cooperation/services/dividendsIncentivesRule/methods/getDividendsIncentivesRule.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: getDividendsIncentivesRule | ||
| 5 | + type: query | ||
| 6 | + description: 返回业绩分红激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: dividendsIncentivesRuleId | ||
| 9 | + required: true | ||
| 10 | + result: | ||
| 11 | + - name: dividendsIncentivesRule | ||
| 12 | + type: | ||
| 13 | + schema: dividendsIncentivesRule | ||
| 14 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: listDividendsIncentivesRule | ||
| 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: dividendsIncentivesRules | ||
| 16 | + type: | ||
| 17 | + array: dividendsIncentivesRule | ||
| 18 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: removeDividendsIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 移除业绩分红激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: dividendsIncentivesRuleId | ||
| 9 | + required: true | ||
| 10 | + result: | ||
| 11 | + - name: dividendsIncentivesRule | ||
| 12 | + type: | ||
| 13 | + schema: dividendsIncentivesRule | ||
| 14 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: updateDividendsIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 更新业绩分红激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: dividendsIncentivesRuleId | ||
| 9 | + required: true | ||
| 10 | + result: | ||
| 11 | + - name: dividendsIncentivesRule | ||
| 12 | + type: | ||
| 13 | + schema: dividendsIncentivesRule | ||
| 14 | + required: true |
allied-creation-cooperation/services/moneyIncentivesRule/methods/createMoneyIncentivesRule.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: createMoneyIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 创建项目金额激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: moneyIncentivesStageEnd | ||
| 9 | + required: true | ||
| 10 | + - ref: moneyIncentivesStageStart | ||
| 11 | + required: true | ||
| 12 | + - ref: moneyIncentivesStage | ||
| 13 | + required: true | ||
| 14 | + - ref: moneyIncentivesAmount | ||
| 15 | + required: true | ||
| 16 | + - ref: cooperationContractNumber | ||
| 17 | + required: true | ||
| 18 | + result: | ||
| 19 | + - name: moneyIncentivesRule | ||
| 20 | + type: | ||
| 21 | + schema: moneyIncentivesRule | ||
| 22 | + required: true |
allied-creation-cooperation/services/moneyIncentivesRule/methods/listMoneyIncentivesRules.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: listMoneyIncentivesRules | ||
| 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: moneyIncentivesRules | ||
| 16 | + type: | ||
| 17 | + array: moneyIncentivesRule | ||
| 18 | + required: true |
allied-creation-cooperation/services/moneyIncentivesRule/methods/removeMoneyIncentivesRule.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: removeMoneyIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 移除项目金额激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: moneyIncentivesRuleId | ||
| 9 | + required: true | ||
| 10 | + result: | ||
| 11 | + - name: moneyIncentivesRule | ||
| 12 | + type: | ||
| 13 | + schema: moneyIncentivesRule | ||
| 14 | + required: true |
allied-creation-cooperation/services/moneyIncentivesRule/methods/updateMoneyIncentivesRule.yaml
0 → 100644
| 1 | +version: v1 | ||
| 2 | +kind: Method | ||
| 3 | +metadata: | ||
| 4 | + name: updateMoneyIncentivesRule | ||
| 5 | + type: command | ||
| 6 | + description: 更新项目金额激励规则服务 | ||
| 7 | + payload: | ||
| 8 | + - ref: moneyIncentivesStageEnd | ||
| 9 | + required: true | ||
| 10 | + - ref: moneyIncentivesStageStart | ||
| 11 | + required: true | ||
| 12 | + - ref: moneyIncentivesStage | ||
| 13 | + required: true | ||
| 14 | + - ref: moneyIncentivesAmount | ||
| 15 | + required: true | ||
| 16 | + - ref: cooperationContractNumber | ||
| 17 | + required: true | ||
| 18 | + - ref: moneyIncentivesRulesId | ||
| 19 | + required: true | ||
| 20 | + result: | ||
| 21 | + - name: moneyIncentivesRule | ||
| 22 | + type: | ||
| 23 | + schema: moneyIncentivesRule | ||
| 24 | + required: true |
-
请 注册 或 登录 后发表评论