优化性能
This commit is contained in:
parent
a02e57e404
commit
40a890cd22
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue