正在显示
6 个修改的文件
包含
22 行增加
和
10 行删除
@@ -18,7 +18,7 @@ metadata: | @@ -18,7 +18,7 @@ metadata: | ||
18 | delete: /{usersId} | 18 | delete: /{usersId} |
19 | - method: listUsers | 19 | - method: listUsers |
20 | route: | 20 | route: |
21 | - get: /search | 21 | + post: /search |
22 | - method: getUsersAccessMenus | 22 | - method: getUsersAccessMenus |
23 | route: | 23 | route: |
24 | get: /{usersId}/access-menus | 24 | get: /{usersId}/access-menus |
@@ -3,7 +3,7 @@ kind: Method | @@ -3,7 +3,7 @@ kind: Method | ||
3 | metadata: | 3 | metadata: |
4 | name: updateRoleAccessMenus | 4 | name: updateRoleAccessMenus |
5 | type: command | 5 | type: command |
6 | - description: 角色设置菜单 | 6 | + description: 设置角色菜单 |
7 | payload: | 7 | payload: |
8 | - ref: roleId | 8 | - ref: roleId |
9 | required: true | 9 | required: true |
@@ -7,8 +7,6 @@ metadata: | @@ -7,8 +7,6 @@ metadata: | ||
7 | payload: | 7 | payload: |
8 | - ref: usersId | 8 | - ref: usersId |
9 | required: true | 9 | required: true |
10 | - - ref: usersCode | ||
11 | - required: true | ||
12 | - ref: usersName | 10 | - ref: usersName |
13 | required: true | 11 | required: true |
14 | - ref: avator | 12 | - ref: avator |
@@ -18,7 +16,7 @@ metadata: | @@ -18,7 +16,7 @@ metadata: | ||
18 | required: true | 16 | required: true |
19 | - ref: msg | 17 | - ref: msg |
20 | required: true | 18 | required: true |
21 | - - name: users | 19 | + - name: usersProfile |
22 | type: | 20 | type: |
23 | - schema: users | 21 | + schema: usersProfile |
24 | required: true | 22 | required: true |
-
请 注册 或 登录 后发表评论