Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
34 个修改的文件
包含
456 行增加
和
14 行删除
1 | +version: v1 | ||
2 | +kind: HttpApi | ||
3 | +metadata: | ||
4 | + service: dictionary | ||
5 | + path: /dictionarys | ||
6 | + endpoints: | ||
7 | + - method: createDictionary | ||
8 | + route: | ||
9 | + post: / | ||
10 | + - method: updateDictionary | ||
11 | + route: | ||
12 | + put: /{Id} | ||
13 | + - method: getDictionary | ||
14 | + route: | ||
15 | + get: /{Id} | ||
16 | + - method: removeDictionary | ||
17 | + route: | ||
18 | + delete: /{Id} | ||
19 | + - method: listDictionary | ||
20 | + route: | ||
21 | + get: / | ||
22 | + params: | ||
23 | + - name: offset | ||
24 | + - name: limit |
allied-creation-basic/project.yaml
0 → 100644
@@ -16,14 +16,16 @@ metadata: | @@ -16,14 +16,16 @@ metadata: | ||
16 | description: 字典名称 | 16 | description: 字典名称 |
17 | type: | 17 | type: |
18 | primitive: string | 18 | primitive: string |
19 | - - name: enableStatus | ||
20 | - description: 启用状态(启用:1 禁用:2) | ||
21 | - type: | ||
22 | - primitive: int | ||
23 | - name: desc | 19 | - name: desc |
24 | description: 备注信息 | 20 | description: 备注信息 |
25 | type: | 21 | type: |
26 | primitive: string | 22 | primitive: string |
23 | + - name: canDelete | ||
24 | + description: 是否可以删除【1:不可以】【2:可以】 | ||
25 | + typee: | ||
26 | + primitive: int | ||
27 | + - name: canEdit | ||
28 | + description: 是否可以编辑【1:不可以】【2:可以】 | ||
27 | - name: dictItems | 29 | - name: dictItems |
28 | description: 字典值列表 | 30 | description: 字典值列表 |
29 | type: | 31 | type: |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: noticeEmpty | ||
5 | + description: 系统默认的空白消息配置样板 | ||
6 | + attributes: | ||
7 | + - ref: noticeEmptyId | ||
8 | + required: true | ||
9 | + - ref: content | ||
10 | + required: true | ||
11 | + - ref: isPush | ||
12 | + required: true | ||
13 | + - ref: module | ||
14 | + required: true | ||
15 | + - ref: moduleAction | ||
16 | + required: true | ||
17 | + - ref: sysCode | ||
18 | + required: true |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | name: noticePersonal | 4 | name: noticePersonal |
5 | - description: 个人的消息通知 | 5 | + description: 个人消息通知内容 |
6 | attributes: | 6 | attributes: |
7 | - ref: createdAt | 7 | - ref: createdAt |
8 | required: true | 8 | required: true |
@@ -26,5 +26,7 @@ metadata: | @@ -26,5 +26,7 @@ metadata: | ||
26 | required: true | 26 | required: true |
27 | - ref: organizationId | 27 | - ref: organizationId |
28 | required: true | 28 | required: true |
29 | + - ref: sysCode | ||
30 | + required: true | ||
29 | - ref: userId | 31 | - ref: userId |
30 | required: true | 32 | required: true |
1 | version: v1 | 1 | version: v1 |
2 | kind: Schema | 2 | kind: Schema |
3 | metadata: | 3 | metadata: |
4 | - name: noticeSetting | 4 | + name: noticSetting |
5 | description: 编排消息通知内容 | 5 | description: 编排消息通知内容 |
6 | attributes: | 6 | attributes: |
7 | - - ref: createdAt | ||
8 | - required: true | ||
9 | - - ref: deletedAt | ||
10 | - required: true | ||
11 | - - ref: updatedAt | ||
12 | - required: true | ||
13 | - ref: companyId | 7 | - ref: companyId |
14 | required: true | 8 | required: true |
15 | - ref: content | 9 | - ref: content |
16 | required: true | 10 | required: true |
11 | + - ref: isPush | ||
12 | + required: true | ||
17 | - ref: module | 13 | - ref: module |
18 | required: true | 14 | required: true |
19 | - ref: moduleAction | 15 | - ref: moduleAction |
20 | required: true | 16 | required: true |
17 | + - ref: noticeSettingId | ||
18 | + required: true | ||
21 | - ref: organizationId | 19 | - ref: organizationId |
22 | required: true | 20 | required: true |
23 | - - ref: isPush | 21 | + - ref: sysCode |
24 | required: true | 22 | required: true |
25 | - - ref: noticeSettingId | 23 | + - ref: createdAt |
24 | + required: true | ||
25 | + - ref: deletedAt | ||
26 | + required: true | ||
27 | + - ref: updatedAt | ||
26 | required: true | 28 | required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listDictionary | ||
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: dictionarys | ||
16 | + type: | ||
17 | + array: dictionary | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: agreeJoinCreationProject | ||
5 | + type: command | ||
6 | + description: 消息:共创申请审核通过 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 接收方用户id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + - name: creationProjectId | ||
13 | + description: 共创项目id | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + - name: creationProjectName | ||
17 | + description: 共创项目名称 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: creationProjectNumber | ||
21 | + description: 共创项目编号 | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + result: | ||
25 | + - ref: noticePersonalId | ||
26 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: getNoticePersonalList | ||
5 | + type: query | ||
6 | + description: 获取消息列表 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 接收方用户的id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + - name: offset | ||
13 | + description: 分页偏移量 | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + - name: limit | ||
17 | + description: 每页限制数量 默认20 | ||
18 | + type: | ||
19 | + primitive: int64 | ||
20 | + - name: isRead | ||
21 | + description: 是否是已读 | ||
22 | + type: | ||
23 | + primitive: int | ||
24 | + result: | ||
25 | + - name: noticePersonal | ||
26 | + type: | ||
27 | + schema: noticePersonal | ||
28 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: informExpectedDividends | ||
5 | + type: command | ||
6 | + description: 消息:分红预算消息 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 用户id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + - name: creationProjectId | ||
13 | + description: 共创项目id | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + - name: creationProjectName | ||
17 | + description: 共创项目名称 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: creationContractId | ||
21 | + description: 共创合约id | ||
22 | + type: | ||
23 | + primitive: int64 | ||
24 | + - name: creationContractName | ||
25 | + description: 共创合约名称 | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + - name: creationContractNumber | ||
29 | + description: 共创合约编号 | ||
30 | + type: | ||
31 | + primitive: string | ||
32 | + - name: productName | ||
33 | + description: 产品名称 | ||
34 | + type: | ||
35 | + primitive: string | ||
36 | + result: | ||
37 | + - ref: noticePersonalId | ||
38 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: informJoinCreationContract | ||
5 | + type: command | ||
6 | + description: 消息:共创确认 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 接收方用户id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + - name: creationProjectId | ||
13 | + description: 共创项目id | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + - name: creationProjectName | ||
17 | + description: 共创项目名称 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: creationContractId | ||
21 | + description: 共创合约id | ||
22 | + type: | ||
23 | + primitive: int64 | ||
24 | + - name: creationContractName | ||
25 | + description: 共创合约名称 | ||
26 | + type: | ||
27 | + primitive: string | ||
28 | + - name: creationContractNumber | ||
29 | + description: 共创合约编号 | ||
30 | + type: | ||
31 | + primitive: string | ||
32 | + result: | ||
33 | + - ref: noticePersonalId | ||
34 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: refuseJoinCreationProject | ||
5 | + type: command | ||
6 | + description: 消息:共创申请审核拒绝 | ||
7 | + payload: | ||
8 | + - name: userId | ||
9 | + description: 接收方用户id | ||
10 | + type: | ||
11 | + primitive: int64 | ||
12 | + - name: creationProjectId | ||
13 | + description: 共创项目id | ||
14 | + type: | ||
15 | + primitive: int64 | ||
16 | + - name: creationProjectName | ||
17 | + description: 共创项目名称 | ||
18 | + type: | ||
19 | + primitive: string | ||
20 | + - name: creationProjectNumber | ||
21 | + description: 共创项目编号 | ||
22 | + type: | ||
23 | + primitive: string | ||
24 | + result: | ||
25 | + - ref: noticePersonalId | ||
26 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: listNoticeSetting | ||
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: noticeSettings | ||
16 | + type: | ||
17 | + array: noticeSetting | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: updateNoticeSetting | ||
5 | + type: command | ||
6 | + description: 更新编排消息通知内容 | ||
7 | + payload: | ||
8 | + - name: dictionary | ||
9 | + type: | ||
10 | + schema: dictionary | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - name: noticeSetting | ||
14 | + type: | ||
15 | + schema: noticeSetting | ||
16 | + required: true |
-
请 注册 或 登录 后发表评论