正在显示
10 个修改的文件
包含
42 行增加
和
2 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论