...
|
...
|
@@ -3,47 +3,47 @@ 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:
|
|
|
get: /
|
|
|
params:
|
|
|
- name: offset
|
|
|
- name: limit
|
|
|
- method: getUsersAccessMenus
|
|
|
endpoints:
|
|
|
- method: createUsers
|
|
|
route:
|
|
|
post: /
|
|
|
- method: updateUsers
|
|
|
route:
|
|
|
put: /{usersId}
|
|
|
- method: getUsers
|
|
|
route:
|
|
|
get: /{usersId}
|
|
|
- method: removeUsers
|
|
|
route:
|
|
|
delete: /{usersId}
|
|
|
- method: listUsers
|
|
|
route:
|
|
|
get: /
|
|
|
params:
|
|
|
- name: offset
|
|
|
- name: limit
|
|
|
- method: getUsersAccessMenus
|
|
|
route:
|
|
|
get: /access-menus
|
|
|
params:
|
|
|
- name: usersId
|
|
|
- name: menuCategory
|
|
|
- method: getUsersBaseInfo
|
|
|
- method: getUsersBaseInfo
|
|
|
route:
|
|
|
get: /base-info
|
|
|
params:
|
|
|
- name: usersId
|
|
|
- name: phone
|
|
|
- name: usersBaseId
|
|
|
- method: batchAdd
|
|
|
route:
|
|
|
post: /batch-add
|
|
|
- method: batchEnable
|
|
|
route:
|
|
|
post: /batch-enable
|
|
|
- method: batchResetPassword
|
|
|
route:
|
|
|
post: /batch-reset-password
|
|
|
- method: phoneAuth
|
|
|
route:
|
|
|
put: /{usersId}/phone-auth |
|
|
\ No newline at end of file |
|
|
- method: batchAdd
|
|
|
route:
|
|
|
post: /batch-add
|
|
|
- method: batchEnable
|
|
|
route:
|
|
|
post: /batch-enable
|
|
|
- method: batchResetPassword
|
|
|
route:
|
|
|
post: /batch-reset-password
|
|
|
- method: phoneAuth
|
|
|
route:
|
|
|
put: /{usersId}/phone-auth |
...
|
...
|
|