fix:修改定时任务
This commit is contained in:
@@ -642,9 +642,17 @@ public class StockApiController {
|
||||
@ApiOperation(value = "新股待上市接口",httpMethod = "GET", response = ServerResponse.class)
|
||||
@RequestMapping({"getNewStockList.do"})
|
||||
@ResponseBody
|
||||
public
|
||||
ServerResponse getNewStockList() {
|
||||
public ServerResponse getNewStockList() {
|
||||
|
||||
return this.stockService.getNewStockList();
|
||||
}
|
||||
|
||||
@ApiOperation(value = "印度股票入库",httpMethod = "GET", response = ServerResponse.class)
|
||||
@RequestMapping({"syncIndiaData.do"})
|
||||
@ResponseBody
|
||||
public ServerResponse syncIndiaData() {
|
||||
|
||||
stockService.syncIndiaData();
|
||||
return ServerResponse.createBySuccess();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user