//使用HashMap入参
Map<String, Object> sendMap = new HashMap<>();
sendMap.put("cmd_line", codecSvrPath);
sendMap.put("video_id", video_id);
sendMap.put("out_path", anonymousPath + dateTime);
sendMap.put("src_path", webvideoPath + dateTime);
//远程调用
logger.info(HttpUtils.post("http://127.0.0.1:8085/deaviceAir/appmc", sendMap).toString());
java调用远程服务或者shell脚本
最新推荐文章于 2022-01-11 23:12:09 发布