Requests Headers
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.9
Authorization: Bearer ${store.state.userInfo.token}
Connection: keep-alive
Content-Length: 13
Content-Type: application/json;charset=UTF-8
Host: 127.0.0.1:8000
Origin: http://127.0.0.1:8080
Referer: http://127.0.0.1:8080/
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
这个是请求的内容,好像是没有带token,但是有Authorization: Bearer ${store.state.userInfo.token},我数据库里面有存储的token