|
|
version: v1
|
|
|
kind: HttpApi
|
|
|
metadata:
|
|
|
service: roles
|
|
|
path: /roles
|
|
|
endpoints:
|
|
|
- method: roleAdd
|
|
|
route:
|
|
|
post: /
|
|
|
- method: roleUpdate
|
|
|
route:
|
|
|
put: /{Id}
|
|
|
- method: roleList
|
|
|
route:
|
|
|
post: /search
|
|
|
- method: roleGet
|
|
|
route:
|
|
|
get: /{Id}
|
|
|
- method: roleUserInfo
|
|
|
route:
|
|
|
get: /role-user/{Id}
|
|
|
- method: roleUserAdd
|
|
|
route:
|
|
|
post: /role-user
|
|
|
- method: roleUserDelete
|
|
|
route:
|
|
|
delete: /role-user
|
|
|
- method: roleUserBeforeEdit
|
|
|
route:
|
|
|
get: /role-user/before-edit
|
|
|
- method: roleMenuBeforeEdit
|
|
|
route:
|
|
|
get: /role-menu/before-edit
|
|
|
- method: roleMenuEdit
|
|
|
route:
|
|
|
put: /role-menu/{Id} |
...
|
...
|
|