fix:增加指数相关接口

This commit is contained in:
xiaoliuhu
2023-12-19 22:18:43 +08:00
parent 21ea0e9785
commit 8d1408e6d3
3 changed files with 61 additions and 0 deletions

View File

@@ -197,6 +197,12 @@ public class StockApiController {
List<JSONObject> list = InvestingApis.of().kline(StockCode.of(stockCode), type);
return ServerResponse.createBySuccess(list);
}
@RequestMapping({"getIndiaIndex.do"})
@ApiOperation(value = "印度--获取指定指数信息", httpMethod = "GET")
@ResponseBody
public ServerResponse getIndiaIndex() {
return this.stockService.getIndiaIndex();
}
//根据股票id查询 股票指数、大盘指数信息
@RequestMapping({"getMarketByStockGid.do"})