正在显示
26 个修改的文件
包含
186 行增加
和
78 行删除
@@ -39,11 +39,11 @@ metadata: | @@ -39,11 +39,11 @@ metadata: | ||
39 | - name: usersOrg | 39 | - name: usersOrg |
40 | description: 关联的组织机构 | 40 | description: 关联的组织机构 |
41 | type: | 41 | type: |
42 | - array: org | 42 | + array: orgs |
43 | - name: usersRole | 43 | - name: usersRole |
44 | description: 关联的组织结构 | 44 | description: 关联的组织结构 |
45 | type: | 45 | type: |
46 | - array: role | 46 | + array: roles |
47 | - name: avator | 47 | - name: avator |
48 | description: 头像 | 48 | description: 头像 |
49 | type: | 49 | type: |
@@ -25,11 +25,11 @@ metadata: | @@ -25,11 +25,11 @@ metadata: | ||
25 | - name: usersOrg | 25 | - name: usersOrg |
26 | description: 用户关联的组织 | 26 | description: 用户关联的组织 |
27 | type: | 27 | type: |
28 | - array: org | 28 | + array: orgs |
29 | - name: usersRole | 29 | - name: usersRole |
30 | description: 用户关联的角色 | 30 | description: 用户关联的角色 |
31 | type: | 31 | type: |
32 | - array: role | 32 | + array: roles |
33 | - name: favoriteMenus | 33 | - name: favoriteMenus |
34 | description: 收藏的菜单(工作台)(菜单编码列表) | 34 | description: 收藏的菜单(工作台)(菜单编码列表) |
35 | type: | 35 | type: |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: roleList | ||
5 | + type: query | ||
6 | + description: 返回role列表 | ||
7 | + payload: | ||
8 | + - ref: offset | ||
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + result: | ||
13 | + - ref: count | ||
14 | + required: true | ||
15 | + - name: roles | ||
16 | + type: | ||
17 | + array: roles | ||
18 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 创建组织管理 | 6 | description: 创建组织管理 |
7 | payload: | 7 | payload: |
8 | - - ref: companyId | ||
9 | - required: true | ||
10 | - - ref: orgCode | ||
11 | - required: true | ||
12 | - - ref: orgName | ||
13 | - required: true | ||
14 | - - name: isOrg | ||
15 | - required: true | ||
16 | - - ref: parentId | ||
17 | - required: true | 8 | + - ref: companyId |
9 | + required: true | ||
10 | + - ref: orgCode | ||
11 | + required: true | ||
12 | + - ref: orgName | ||
13 | + required: true | ||
14 | + - name: isOrg | ||
15 | + required: true | ||
16 | + - ref: parentId | ||
17 | + required: true | ||
18 | result: | 18 | result: |
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: org | ||
22 | - required: true | 19 | + - name: org |
20 | + type: | ||
21 | + schema: orgs | ||
22 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 返回组织管理 | 6 | description: 返回组织管理 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - ref: orgId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: org | ||
12 | - type: | ||
13 | - schema: org | ||
14 | - required: true | 11 | + - name: org |
12 | + type: | ||
13 | + schema: orgs | ||
14 | + required: true |
@@ -5,20 +5,20 @@ metadata: | @@ -5,20 +5,20 @@ metadata: | ||
5 | type: query | 5 | type: query |
6 | description: 返回组织管理列表 | 6 | description: 返回组织管理列表 |
7 | payload: | 7 | payload: |
8 | - - ref: offset | ||
9 | - required: true | ||
10 | - - ref: limit | ||
11 | - required: true | ||
12 | - - ref: orgCode | ||
13 | - required: false | ||
14 | - - ref: depName | ||
15 | - required: false | ||
16 | - - ref: parentId | ||
17 | - required: false | 8 | + - ref: offset |
9 | + required: true | ||
10 | + - ref: limit | ||
11 | + required: true | ||
12 | + - ref: orgCode | ||
13 | + required: false | ||
14 | + - ref: depName | ||
15 | + required: false | ||
16 | + - ref: parentId | ||
17 | + required: false | ||
18 | result: | 18 | result: |
19 | - - ref: count | ||
20 | - required: true | ||
21 | - - name: orgs | ||
22 | - type: | ||
23 | - array: org | ||
24 | - required: true | 19 | + - ref: count |
20 | + required: true | ||
21 | + - name: orgs | ||
22 | + type: | ||
23 | + array: orgs | ||
24 | + required: true |
@@ -5,10 +5,10 @@ metadata: | @@ -5,10 +5,10 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 移除组织管理 | 6 | description: 移除组织管理 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | 8 | + - ref: orgId |
9 | + required: true | ||
10 | result: | 10 | result: |
11 | - - name: org | ||
12 | - type: | ||
13 | - schema: org | ||
14 | - required: true | 11 | + - name: org |
12 | + type: | ||
13 | + schema: orgs | ||
14 | + required: true |
@@ -5,18 +5,18 @@ metadata: | @@ -5,18 +5,18 @@ metadata: | ||
5 | type: command | 5 | type: command |
6 | description: 更新组织管理 | 6 | description: 更新组织管理 |
7 | payload: | 7 | payload: |
8 | - - ref: orgId | ||
9 | - required: true | ||
10 | - - ref: orgCode | ||
11 | - required: true | ||
12 | - - ref: orgName | ||
13 | - required: true | ||
14 | - - name: isOrg | ||
15 | - required: true | ||
16 | - - ref: parentId | ||
17 | - required: true | 8 | + - ref: orgId |
9 | + required: true | ||
10 | + - ref: orgCode | ||
11 | + required: true | ||
12 | + - ref: orgName | ||
13 | + required: true | ||
14 | + - name: isOrg | ||
15 | + required: true | ||
16 | + - ref: parentId | ||
17 | + required: true | ||
18 | result: | 18 | result: |
19 | - - name: org | ||
20 | - type: | ||
21 | - schema: org | ||
22 | - required: true | 19 | + - name: org |
20 | + type: | ||
21 | + schema: orgs | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: orgAdd | ||
5 | + type: command | ||
6 | + description: 创建组织管理 | ||
7 | + payload: | ||
8 | + - ref: companyId | ||
9 | + required: true | ||
10 | + - ref: orgCode | ||
11 | + required: true | ||
12 | + - ref: orgName | ||
13 | + required: true | ||
14 | + - name: isOrg | ||
15 | + required: true | ||
16 | + - ref: parentId | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: org | ||
20 | + type: | ||
21 | + schema: orgs | ||
22 | + required: true |
1 | +version: v1 | ||
2 | +kind: Method | ||
3 | +metadata: | ||
4 | + name: orgUpdate | ||
5 | + type: command | ||
6 | + description: 更新组织管理 | ||
7 | + payload: | ||
8 | + - ref: orgId | ||
9 | + required: true | ||
10 | + - ref: orgCode | ||
11 | + required: true | ||
12 | + - ref: orgName | ||
13 | + required: true | ||
14 | + - name: isOrg | ||
15 | + required: true | ||
16 | + - ref: parentId | ||
17 | + required: true | ||
18 | + result: | ||
19 | + - name: org | ||
20 | + type: | ||
21 | + schema: orgs | ||
22 | + required: true |
@@ -7,10 +7,10 @@ metadata: | @@ -7,10 +7,10 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - name: role | 8 | - name: role |
9 | type: | 9 | type: |
10 | - schema: role | 10 | + schema: roles |
11 | required: true | 11 | required: true |
12 | result: | 12 | result: |
13 | - name: role | 13 | - name: role |
14 | type: | 14 | type: |
15 | - schema: role | 15 | + schema: roles |
16 | required: true | 16 | required: true |
@@ -7,10 +7,10 @@ metadata: | @@ -7,10 +7,10 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - name: role | 8 | - name: role |
9 | type: | 9 | type: |
10 | - schema: role | 10 | + schema: roles |
11 | required: true | 11 | required: true |
12 | result: | 12 | result: |
13 | - name: role | 13 | - name: role |
14 | type: | 14 | type: |
15 | - schema: role | 15 | + schema: roles |
16 | required: true | 16 | required: true |
@@ -51,11 +51,11 @@ metadata: | @@ -51,11 +51,11 @@ metadata: | ||
51 | - name: usersOrg | 51 | - name: usersOrg |
52 | description: 关联的组织机构 | 52 | description: 关联的组织机构 |
53 | type: | 53 | type: |
54 | - array: org | 54 | + array: orgs |
55 | - name: usersRole | 55 | - name: usersRole |
56 | description: 关联的角色 | 56 | description: 关联的角色 |
57 | type: | 57 | type: |
58 | - array: role | 58 | + array: roles |
59 | - name: avator | 59 | - name: avator |
60 | description: 头像 | 60 | description: 头像 |
61 | type: | 61 | type: |
@@ -36,11 +36,11 @@ metadata: | @@ -36,11 +36,11 @@ metadata: | ||
36 | - name: usersOrg | 36 | - name: usersOrg |
37 | description: 关联的组织机构 | 37 | description: 关联的组织机构 |
38 | type: | 38 | type: |
39 | - array: org | 39 | + array: orgs |
40 | - name: usersRole | 40 | - name: usersRole |
41 | description: 关联的组织结构 | 41 | description: 关联的组织结构 |
42 | type: | 42 | type: |
43 | - array: role | 43 | + array: roles |
44 | - name: avator | 44 | - name: avator |
45 | description: 头像 | 45 | description: 头像 |
46 | type: | 46 | type: |
-
请 注册 或 登录 后发表评论