视频上传添加视频回退

This commit is contained in:
zhaolongfei
2024-11-01 16:28:25 +08:00
parent cd029d43c1
commit 5af8ca335c

View File

@@ -117,13 +117,6 @@ public class SysUploaderApi extends ApiBaseController{
// ex.printStackTrace();
log.error("处理失败",ex);
}
try {
String fileFullPath = SysConstant.getConfigValue(BaseConstant.CONFIG_UPLOAD_FILES_SAVEPATH) + xur.getFilePath();
Encoder encoder = new Encoder();
MultimediaInfo m = encoder.getInfo(new File(fileFullPath));
}catch (Exception e){
return error("读取视频时长错误");
}
return wrap(xur);
} catch (Exception e) {