添加获取截图接口

This commit is contained in:
648540858
2023-05-29 23:28:06 +08:00
parent 57192a49d1
commit 5a152791c0
11 changed files with 127 additions and 27 deletions

View File

@@ -154,7 +154,6 @@ public class ZLMRESTfulUtils {
public void sendGetForImg(MediaServerItem mediaServerItem, String api, Map<String, Object> params, String targetPath, String fileName) {
String url = String.format("http://%s:%s/index/api/%s", mediaServerItem.getIp(), mediaServerItem.getHttpPort(), api);
logger.debug(url);
HttpUrl parseUrl = HttpUrl.parse(url);
if (parseUrl == null) {
return;