港股对接沧州矿石地图代码

pull/14/head
dearlin 2024-01-17 16:01:16 +08:00
parent 1d87206d40
commit 95d325c6a5
2 changed files with 14 additions and 2 deletions

View File

@ -170,4 +170,16 @@ public class ApiCzksMapController extends BaseController {
request.put("INDEXCODE", pageData.getString("INDEXCODE"));
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;
}
}

View File

@ -13,9 +13,9 @@ public class CzksPerLocUtil {
// @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}")
// private String userName;
// @Value("${perLoc.pwd}")