增加下载统计

This commit is contained in:
ember 2025-04-28 02:36:07 +08:00
parent f8bc887c85
commit b1da193785
7 changed files with 10 additions and 8 deletions

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.908af258.js"></script><script defer="defer" src="/js/app.f76c5e62.js"></script><link href="/css/app.8af8e325.css" rel="stylesheet"></head><body><noscript><strong>抱歉NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.908af258.js"></script><script defer="defer" src="/js/app.1e8ae8b6.js"></script><link href="/css/app.8af8e325.css" rel="stylesheet"></head><body><noscript><strong>抱歉NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

2
dist/js/4.5aba4a95.js vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/js/app.1e8ae8b6.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -202,7 +202,8 @@ export default {
'Authorization': this.token 'Authorization': this.token
}, },
body: JSON.stringify({ body: JSON.stringify({
attachment_id: this.id attachment_id: this.id,
preview: true
}) })
}) })
.then(response => response.json()) .then(response => response.json())
@ -352,7 +353,8 @@ export default {
'Authorization': this.token 'Authorization': this.token
}, },
body: JSON.stringify({ body: JSON.stringify({
attachment_id: this.id attachment_id: this.id,
preview: false
}) })
}) })
.then(response => response.json()) .then(response => response.json())