This commit is contained in:
make
2025-04-07 10:19:45 +08:00
parent ddbf53bd2b
commit 6017bff14e
2 changed files with 12 additions and 11 deletions

View File

@@ -380,6 +380,7 @@ function displayHistory() {
// 方法1使用 fetch API // 方法1使用 fetch API
async function reportStats(data) { async function reportStats(data) {
console.log(strPushApi)
try { try {
const response = await fetch(strPushApi+'/publish', { const response = await fetch(strPushApi+'/publish', {
method: 'POST', method: 'POST',