users.yaml
1.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: v1
kind: HttpApi
metadata:
service: users
path: /users
endpoints:
- method: createUsers
route:
post: /
- method: updateUsers
route:
put: /{usersId}
- method: getUsers
route:
get: /{usersId}
- method: removeUsers
route:
delete: /{usersId}
- method: listUsers
route:
post: /search
- method: getUsersAccessMenus
route:
get: /{usersId}/access-menus
params:
- name: menuCategory
- method: getUsersBaseInfo
route:
get: /base-info
params:
- name: usersId
- name: phone
- name: usersBaseId
- name: usersCode
- method: batchAdd
route:
post: /batch-add
- method: batchEnable
route:
post: /batch-enable
- method: batchResetPassword
route:
post: /batch-reset-password
- method: updateUsersPhoneAuth
route:
put: /{usersId}/phone-auth
- method: updateUsersBase
route:
put: /{usersId}/users-base