作者 tangxuhui

更新

正在显示 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:
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: org 4 + name: orgs
5 description: 组织organization 5 description: 组织organization
6 attributes: 6 attributes:
7 - ref: orgId 7 - ref: orgId
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: role  
5 - description: 角色 (base) 4 + name: roleListItem
  5 + description: 角色列表
6 attributes: 6 attributes:
7 - ref: roleId 7 - ref: roleId
8 required: true 8 required: true
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: role 4 + name: roles
5 description: 角色 (base) 5 description: 角色 (base)
6 attributes: 6 attributes:
7 - ref: roleId 7 - ref: roleId
@@ -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:
@@ -2,4 +2,4 @@ version: v1 @@ -2,4 +2,4 @@ version: v1
2 kind: Service 2 kind: Service
3 metadata: 3 metadata:
4 name: loginAccess 4 name: loginAccess
5 - description: 登录访问 5 + description: web端登录访问
  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: orgGet
  5 + type: query
  6 + description: 返回组织管理
  7 + payload:
  8 + - ref: orgId
  9 + required: true
  10 + result:
  11 + - name: org
  12 + type:
  13 + schema: orgs
  14 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: orgList
  5 + type: query
  6 + description: 返回组织管理列表
  7 + result:
  8 + - ref: count
  9 + required: true
  10 + - name: orgs
  11 + type:
  12 + array: orgs
  13 + required: true
  1 +version: v1
  2 +kind: Method
  3 +metadata:
  4 + name: orgRemove
  5 + type: command
  6 + description: 移除组织管理
  7 + payload:
  8 + - ref: orgId
  9 + required: true
  10 + result:
  11 + - name: org
  12 + type:
  13 + schema: orgs
  14 + 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
  1 +version: v1
  2 +kind: Service
  3 +metadata:
  4 + name: orgs
  5 + description: 组织管理
@@ -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
@@ -14,5 +14,5 @@ metadata: @@ -14,5 +14,5 @@ metadata:
14 required: true 14 required: true
15 - name: roles 15 - name: roles
16 type: 16 type:
17 - array: role 17 + array: roles
18 required: true 18 required: true
@@ -10,7 +10,7 @@ metadata: @@ -10,7 +10,7 @@ metadata:
10 result: 10 result:
11 - name: roles 11 - name: roles
12 type: 12 type:
13 - array: role 13 + array: roles
14 required: true 14 required: true
15 - name: menus 15 - name: menus
16 type: 16 type:
@@ -10,5 +10,5 @@ metadata: @@ -10,5 +10,5 @@ metadata:
10 result: 10 result:
11 - name: role 11 - name: role
12 type: 12 type:
13 - schema: role 13 + schema: roles
14 required: true 14 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,8 +7,8 @@ metadata: @@ -7,8 +7,8 @@ metadata:
7 result: 7 result:
8 - name: roles 8 - name: roles
9 type: 9 type:
10 - array: role 10 + array: roles
11 required: true 11 required: true
12 - name: orgs 12 - name: orgs
13 type: 13 type:
14 - array: org 14 + array: orgs
@@ -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: