优化性能 #10

Merged
yezian merged 1 commits from anln into main 2024-08-13 11:44:56 +08:00
1 changed files with 1 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export default function Data() {
"Content-Type": "application/json",
},
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),
offset: 0,
limit: 10000,
@ -157,7 +157,6 @@ export default function Data() {
}),
});
const _data = await response.json();
console.log(_data);
if (_data.ret === -1) {
alert(_data.msg);
return;