优化money股票K线图1H和1D只返回当天数据

This commit is contained in:
xiaoliuhu
2024-04-24 21:24:03 +08:00
parent e680bee42b
commit 5a95d6be9a

View File

@@ -758,7 +758,7 @@ public class MoneyApiController {
for (Long time : response.getT()) {
time = time * 1000;
if (DateUtil.isSameDay(currentTime, new Date(time))) {
t.add(time);
t.add(response.getT().get(i));
o.add(response.getO().get(i));
h.add(response.getH().get(i));
l.add(response.getL().get(i));