mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 15:57:50 +08:00
feat : admin user finish
This commit is contained in:
@@ -16,6 +16,27 @@ Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
|
||||
### 列表
|
||||
GET {{host}}/admin/adminUser/list
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
|
||||
### 修改用户资料
|
||||
PUT {{host}}/admin/adminUser
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
nickname=超超级管理员
|
||||
|
||||
|
||||
|
||||
### 获取角色
|
||||
GET {{host}}/admin/adminUser/1/roles
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Authorization: Bearer {{admin_token}}
|
||||
|
||||
|
||||
### 登录
|
||||
POST {{host}}/admin/login/refresh
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
Reference in New Issue
Block a user