优化性能

This commit is contained in:
yezian 2024-08-13 11:33:15 +08:00
parent a02e57e404
commit 40a890cd22
1 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export default function Data() {
"Content-Type": "application/json", "Content-Type": "application/json",
}, },
body: JSON.stringify({ body: JSON.stringify({
st: 1704038400, //2024-01-01 00:00:00 st: Math.floor(Date.now() / 1000) - 60 * 60 * 24 * 8, //8
et: Math.floor(Date.now() / 1000), et: Math.floor(Date.now() / 1000),
offset: 0, offset: 0,
limit: 10000, limit: 10000,
@ -157,7 +157,6 @@ export default function Data() {
}), }),
}); });
const _data = await response.json(); const _data = await response.json();
console.log(_data);
if (_data.ret === -1) { if (_data.ret === -1) {
alert(_data.msg); alert(_data.msg);
return; return;