fix:修改指数信息

This commit is contained in:
xiaoliuhu
2024-01-10 11:25:13 +08:00
parent 37425eff84
commit 6fa3428ca1

View File

@@ -946,7 +946,7 @@ public class StockService {
vo1.setIndexVo(market); vo1.setIndexVo(market);
String period = "P1D"; String period = "P1D";
String interval = "PT1H"; String interval = "PT30M";
String type = "day"; String type = "day";
List<JSONObject> list = InvestingApis.of().kIndex(stockCode,period,interval, type); List<JSONObject> list = InvestingApis.of().kIndex(stockCode,period,interval, type);
if(list == null || list.size() == 0){ if(list == null || list.size() == 0){
@@ -966,7 +966,7 @@ public class StockService {
vo2.setIndexVo(market); vo2.setIndexVo(market);
String period = "P1D"; String period = "P1D";
String interval = "PT1H"; String interval = "PT30M";
String type = "day"; String type = "day";
List<JSONObject> list = InvestingApis.of().kIndex(stockCode,period,interval, type); List<JSONObject> list = InvestingApis.of().kIndex(stockCode,period,interval, type);
if(list == null || list.size() == 0){ if(list == null || list.size() == 0){