1
This commit is contained in:
@@ -40,6 +40,7 @@ public class InfoController {
|
|||||||
public Map<String, Object> test(@RequestParam(required = false) String key) {
|
public Map<String, Object> test(@RequestParam(required = false) String key) {
|
||||||
Map<String, Object> map = Maps.newHashMap();
|
Map<String, Object> map = Maps.newHashMap();
|
||||||
map.put("stockMarketDbUrl", stockMarketDbUrl);
|
map.put("stockMarketDbUrl", stockMarketDbUrl);
|
||||||
|
map.put("stockMarketDbUrl1", stockMarketDbUrl);
|
||||||
if(StringUtils.isNotBlank(key)) {
|
if(StringUtils.isNotBlank(key)) {
|
||||||
map.put("key", PropertiesUtil.getProperty(key));
|
map.put("key", PropertiesUtil.getProperty(key));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ import springfox.documentation.annotations.ApiIgnore;
|
|||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@Api(value = "/StockApiController", tags = "股票行情")
|
@Api(value = "/StockApiController", tags = "股票行情")
|
||||||
@RequestMapping({"/market/api/market/stock", "/market/api/hq/stock","/api/market/stock", "/api/hq/stock"})
|
@RequestMapping({"/market/api/market/stock/", "/market/api/hq/stock/","/api/market/stock/", "/api/hq/stock/"})
|
||||||
public class StockApiController {
|
public class StockApiController {
|
||||||
private static final Logger log = LoggerFactory.getLogger(StockApiController.class);
|
private static final Logger log = LoggerFactory.getLogger(StockApiController.class);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user