23 lines
456 B
HTTP
23 lines
456 B
HTTP
### 登录
|
|
POST {{host}}/admin/login/user
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
account=13632877014&password=123456
|
|
|
|
> {%
|
|
client.global.set("admin_token", response.body.data.token);
|
|
%}
|
|
|
|
### 权限单列表
|
|
GET {{host}}/admin/auth/menu_list
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{admin_token}}
|
|
|
|
|
|
### 角色详情
|
|
GET {{host}}/admin/auth/role?role_id=1
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{admin_token}}
|
|
|
|
|
|
### |