正在显示
15 个修改的文件
包含
23 行增加
和
23 行删除
@@ -19,9 +19,9 @@ metadata: | @@ -19,9 +19,9 @@ metadata: | ||
19 | - method: phoneAuthResetPhone | 19 | - method: phoneAuthResetPhone |
20 | route: | 20 | route: |
21 | post: /reset-phone | 21 | post: /reset-phone |
22 | - - method: destoryAccount | 22 | + - method: destroyAccount |
23 | route: | 23 | route: |
24 | - post: /destory-account | 24 | + post: /destroy-account |
25 | - method: userInfo | 25 | - method: userInfo |
26 | route: | 26 | route: |
27 | post: /userInfo | 27 | post: /userInfo |
@@ -2,7 +2,7 @@ version: v1 | @@ -2,7 +2,7 @@ version: v1 | ||
2 | kind: HttpApi | 2 | kind: HttpApi |
3 | metadata: | 3 | metadata: |
4 | service: role | 4 | service: role |
5 | - path: /roles | 5 | + path: /role |
6 | endpoints: | 6 | endpoints: |
7 | - method: createRole | 7 | - method: createRole |
8 | route: | 8 | route: |
@@ -36,7 +36,7 @@ metadata: | @@ -36,7 +36,7 @@ metadata: | ||
36 | put: /{roleId}/access-menus | 36 | put: /{roleId}/access-menus |
37 | - method: assginRoleToUsers | 37 | - method: assginRoleToUsers |
38 | route: | 38 | route: |
39 | - post: /assgin | 39 | + post: /assign |
40 | - method: unAssginRoleToUsers | 40 | - method: unAssginRoleToUsers |
41 | route: | 41 | route: |
42 | - post: /unassgin | ||
42 | + post: /unassign |
@@ -4,27 +4,27 @@ metadata: | @@ -4,27 +4,27 @@ metadata: | ||
4 | service: user | 4 | service: user |
5 | path: /user | 5 | path: /user |
6 | endpoints: | 6 | endpoints: |
7 | - - method: createUsers | 7 | + - method: createUser |
8 | route: | 8 | route: |
9 | post: / | 9 | post: / |
10 | - - method: updateUsers | 10 | + - method: updateUser |
11 | route: | 11 | route: |
12 | put: /{userId} | 12 | put: /{userId} |
13 | - - method: getUsers | 13 | + - method: getUser |
14 | route: | 14 | route: |
15 | get: /{userId} | 15 | get: /{userId} |
16 | - - method: removeUsers | 16 | + - method: removeUser |
17 | route: | 17 | route: |
18 | delete: /{userId} | 18 | delete: /{userId} |
19 | - - method: listUsers | 19 | + - method: listUser |
20 | route: | 20 | route: |
21 | post: /search | 21 | post: /search |
22 | - - method: getUsersAccessMenus | 22 | + - method: getUserAccessMenus |
23 | route: | 23 | route: |
24 | get: /{userId}/access-menus | 24 | get: /{userId}/access-menus |
25 | params: | 25 | params: |
26 | - name: menuCategory | 26 | - name: menuCategory |
27 | - - method: getUsersProfile | 27 | + - method: getUserProfile |
28 | route: | 28 | route: |
29 | get: /{userId}/profile | 29 | get: /{userId}/profile |
30 | - method: batchAdd | 30 | - method: batchAdd |
-
请 注册 或 登录 后发表评论