src/main/java/com/nq/controller/StockApiController.java
@@ -68,6 +68,13 @@ return this.iStockService.getSingleStock(code, request); } //查询是否是交易时间内 @RequestMapping({"getExchange.do"}) @ResponseBody public ServerResponse getExchange() { return this.iStockService.getExchange(); } /*查询股票日线*/ @RequestMapping({"getKData.do"}) @@ -80,7 +87,12 @@ return this.iStockService.getKData(pid,interval,stockType); } /*查询股票日线*/ @RequestMapping({"getIndexData.do"}) @ResponseBody public Object getIndexData() { return this.iStockService.getIndexData(); } /**