请求测试通过

This commit is contained in:
目棃
2024-08-15 18:43:05 +08:00
parent 32fb6df2ac
commit 6e0bb42c3b
5 changed files with 87 additions and 15 deletions

View File

@@ -61,7 +61,7 @@ async function TGHttp<T>(
url += `?${query}`;
}
console.log("fetch url: ", url);
console.log("fetch options: ", fetchOptions);
console.log("fetch options: ", options);
return await fetch(url, fetchOptions)
.then((res) => {
if (res.ok) {