feat:印度热门股票列表

This commit is contained in:
rplees
2023-12-05 14:30:47 +08:00
parent b58363ebb0
commit 49f48ab307
3 changed files with 63 additions and 0 deletions

View File

@@ -137,6 +137,13 @@ public class StockApiController {
public ServerResponse getINDStockList(@RequestParam("pageSize") Integer pageSize, @RequestParam("pageNum") Integer pageNum) throws IOException {
return ServerResponse.createBySuccess(InvestingInvokerApis.of().__page(pageNum, pageSize));
}
@RequestMapping({"getTopINDStockList.do"})
@ApiOperation(value = "印度热门股票列表", httpMethod = "GET")
@ResponseBody
public ServerResponse getTopINDStockList(@RequestParam("pageSize") Integer pageSize, @RequestParam("pageNum") Integer pageNum) throws IOException {
return ServerResponse.createBySuccess(InvestingInvokerApis.of().__page_nifty100(pageNum, pageSize));
}
//印度股票时线-K线
@RequestMapping({"getINDTimeK.do"})