港股对接沧州矿石地图代码
parent
1d87206d40
commit
95d325c6a5
|
@ -170,4 +170,16 @@ public class ApiCzksMapController extends BaseController {
|
||||||
request.put("INDEXCODE", pageData.getString("INDEXCODE"));
|
request.put("INDEXCODE", pageData.getString("INDEXCODE"));
|
||||||
return HttpRequestUtil.getCameraHlsPathApi("/platformvideomanagement/getHlsPath", request.toString());
|
return HttpRequestUtil.getCameraHlsPathApi("/platformvideomanagement/getHlsPath", request.toString());
|
||||||
}
|
}
|
||||||
|
@RequestMapping(value="/getHlsPath")
|
||||||
|
@ResponseBody
|
||||||
|
public Object getHlsPath() throws Exception{
|
||||||
|
Map<String,Object> map = new HashMap<String,Object>();
|
||||||
|
PageData pd =this.getPageData();
|
||||||
|
map = HKUtil.camerasPreviewURLs(pd.getString("INDEXCODE"),"hls");
|
||||||
|
if(ObjectUtils.isEmpty(map)){
|
||||||
|
map = new HashMap<String,Object>();
|
||||||
|
}
|
||||||
|
map.put("result", "success");
|
||||||
|
return map;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,9 +13,9 @@ public class CzksPerLocUtil {
|
||||||
|
|
||||||
// @Value("${perLoc.url}")
|
// @Value("${perLoc.url}")
|
||||||
// 线上地址
|
// 线上地址
|
||||||
public static String perLocUrl = "http://172.16.130.86/gateway-service";
|
// public static String perLocUrl = "http://172.16.130.86/gateway-service";
|
||||||
// 线上外网映射
|
// 线上外网映射
|
||||||
// public static String perLocUrl = "http://221.195.199.13:7811/gateway-service";
|
public static String perLocUrl = "http://221.195.199.13:7811/gateway-service";
|
||||||
// @Value("${perLoc.userName}")
|
// @Value("${perLoc.userName}")
|
||||||
// private String userName;
|
// private String userName;
|
||||||
// @Value("${perLoc.pwd}")
|
// @Value("${perLoc.pwd}")
|
||||||
|
|
Loading…
Reference in New Issue