mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +08:00
fix : jwt
This commit is contained in:
@@ -17,13 +17,13 @@ Authorization: Bearer {{admin_token}}
|
||||
|
||||
|
||||
### 登录
|
||||
POST {{host}}/admin/passport/login
|
||||
POST {{host}}/admin/login/refresh
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
username=admin&password=123456
|
||||
Authorization: Bearer {{refresh_token}}
|
||||
|
||||
> {%
|
||||
client.global.set("admin_token", response.body.data.access_token);
|
||||
client.global.set("refresh_token", response.body.data.refresh_token);
|
||||
%}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user