优化内容加修复bug
This commit is contained in:
@@ -19,7 +19,7 @@ export default function request(url, data = {}, method = "GET") {
|
||||
const header = {
|
||||
"clientid": "resident",
|
||||
'content-type': 'application/json'
|
||||
};
|
||||
};
|
||||
if (token) {
|
||||
header["Authorization"] = "Bearer " + token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user