Authorization: Bearer ********************
{ "username": "admin", "password": "admin" }
curl --location --request POST '/auth/login' \ --header 'Authorization: Bearer {{token}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "username": "admin", "password": "admin" }'
{ "code": "10000", "message": "操作成功", "data": { "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9xxxx", "currentAuthority": "admin", "status": "ok", "type": "account" } }