mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 20:06:51 +08:00
视频上传添加视频回退
This commit is contained in:
@@ -117,13 +117,6 @@ public class SysUploaderApi extends ApiBaseController{
|
|||||||
// ex.printStackTrace();
|
// ex.printStackTrace();
|
||||||
log.error("处理失败",ex);
|
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);
|
return wrap(xur);
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user