mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
修改httpClient
This commit is contained in:
parent
3981af84dd
commit
c6ef8b3a44
@ -1,19 +1,3 @@
|
||||
### 请求 /login 接口 => 成功
|
||||
POST http://localhost:48080/api/login
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"username": "admin",
|
||||
"password": "admin123",
|
||||
"uuid": "9b2ffbc1-7425-4155-9894-9d5c08541d62",
|
||||
"code": "1024"
|
||||
}
|
||||
|
||||
> {%
|
||||
client.global.set("token", response.body.data.token)
|
||||
%}
|
||||
|
||||
|
||||
### list-group
|
||||
GET http://localhost:48080/api/system/error-code/list-group
|
||||
Authorization: Bearer {{token}}
|
||||
|
Loading…
Reference in New Issue
Block a user