fix:修改bug

This commit is contained in:
xiaoliuhu
2023-12-26 17:06:20 +08:00
parent fc8f94d056
commit 8c0a21ae8f

View File

@@ -65,7 +65,7 @@ public class TodayApis {
}
//获取Most Active Volume
public static List<JSONObject> getMostActiveVolume(String exchange){
String url = "https://marketapi.intoday.in/widget/toploser/view?exchange=" + exchange;
String url = "https://marketapi.intoday.in/widget/mostactivetopper/view?exchange=" + exchange;
//返回字符串对象格式:{"status_code":1,"success":true,"data":[{}],"message":"Successful","fromredis":true}
String str = get(url);
JSONObject object = JSON.parseObject(str);
@@ -87,7 +87,7 @@ public class TodayApis {
}
//获取Most Active Value
public static List<JSONObject> getMostActiveValue(String exchange){
String url = "https://marketapi.intoday.in/widget/toploser/view?exchange=" + exchange;
String url = "https://marketapi.intoday.in/widget/mostactivetopperbyvalue/view?exchange=" + exchange;
//返回字符串对象格式:{"status_code":1,"success":true,"data":[{}],"message":"Successful","fromredis":true}
String str = get(url);
JSONObject object = JSON.parseObject(str);