Merge pull request '优化性能' (#10) from anln into main
Reviewed-on: https://git.wishpal.cn/wishpal_ironfan/tiefen_space_op/pulls/10
This commit is contained in:
commit
61a3492ac8
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue