This commit is contained in:
william
2024-05-01 11:57:12 +08:00
parent 9af156cd4a
commit b2e93f646c
2 changed files with 2 additions and 1 deletions

View File

@@ -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));
} }

View File

@@ -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);