Update api.js

This commit is contained in:
姜棚 2021-11-28 11:48:18 +08:00
parent 9594d15833
commit 870aac783e
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ const req = (method, url, params, responseType) => {
method: "post", method: "post",
body: JSON.stringify(params), body: JSON.stringify(params),
headers: new Headers({ headers: new Headers({
'Content-Type': 'application/json', 'Content-Type': 'application/json'
}) })
} }