Merge branch 'master' of http://gitlab.fjmaimaimai.com/allied-creation/document
正在显示
18 个修改的文件
包含
97 行增加
和
10 行删除
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: creationProject | ||
5 | + description: 共创项目实体 | ||
6 | + attributes: | ||
7 | + - ref: creationProjectDescription | ||
8 | + required: true | ||
9 | + - ref: creationProjectId | ||
10 | + required: true | ||
11 | + - ref: creationProjectName | ||
12 | + required: true | ||
13 | + - ref: creationProjectPublishTime | ||
14 | + required: true | ||
15 | + - ref: creationProjectPublisher | ||
16 | + required: true | ||
17 | + - ref: creationProjectSponsor | ||
18 | + required: true | ||
19 | + - ref: creationProjectUndertakerType | ||
20 | + required: true | ||
21 | + - ref: operator | ||
22 | + required: true | ||
23 | + - ref: operateTime | ||
24 | + required: true | ||
25 | + - ref: status | ||
26 | + required: true |
@@ -22,6 +22,10 @@ metadata: | @@ -22,6 +22,10 @@ metadata: | ||
22 | description: 关联的用户 (冗余) | 22 | description: 关联的用户 (冗余) |
23 | type: | 23 | type: |
24 | array: int64 | 24 | array: int64 |
25 | + - name: status | ||
26 | + description: 账号状态 1:正常 2.禁用 3:注销 | ||
27 | + type: | ||
28 | + primitive: int | ||
25 | - ref: createAt | 29 | - ref: createAt |
26 | required: true | 30 | required: true |
27 | - ref: updateAt | 31 | - ref: updateAt |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: destoryAccount | ||
5 | + type: command | ||
6 | + description: 注销账号 (添加用户时重新激活) | ||
7 | + payload: | ||
8 | + - ref: userId | ||
9 | + required: true | ||
10 | + result: | ||
11 | + - name: code | ||
12 | + type: | ||
13 | + primitive: int | ||
14 | + required: true | ||
15 | + - name: msg | ||
16 | + type: | ||
17 | + primitive: string | ||
18 | + required: true |
@@ -15,6 +15,10 @@ metadata: | @@ -15,6 +15,10 @@ metadata: | ||
15 | required: false | 15 | required: false |
16 | - ref: parentId | 16 | - ref: parentId |
17 | required: false | 17 | required: false |
18 | + - ref: isOrg | ||
19 | + required: false | ||
20 | + - ref: companyId | ||
21 | + required: true | ||
18 | result: | 22 | result: |
19 | - ref: count | 23 | - ref: count |
20 | required: true | 24 | required: true |
@@ -13,6 +13,11 @@ metadata: | @@ -13,6 +13,11 @@ metadata: | ||
13 | required: false | 13 | required: false |
14 | - ref: orgName | 14 | - ref: orgName |
15 | required: false | 15 | required: false |
16 | + - name: inOrgIds | ||
17 | + description: 匹配多个组织 1,2,3 逗号分割 inOrgIds | ||
18 | + required: false | ||
19 | + type: | ||
20 | + primitive: string | ||
16 | result: | 21 | result: |
17 | - ref: count | 22 | - ref: count |
18 | required: true | 23 | required: true |
@@ -9,6 +9,12 @@ metadata: | @@ -9,6 +9,12 @@ metadata: | ||
9 | required: true | 9 | required: true |
10 | - ref: limit | 10 | - ref: limit |
11 | required: true | 11 | required: true |
12 | + - ref: usersName | ||
13 | + required: false | ||
14 | + - ref: usersName | ||
15 | + required: false | ||
16 | + - ref: depName | ||
17 | + required: false | ||
12 | result: | 18 | result: |
13 | - ref: count | 19 | - ref: count |
14 | required: true | 20 | required: true |
-
请 注册 或 登录 后发表评论