@@ -2328,7 +2328,7 @@ public class SceneEditInfoServiceImpl extends ServiceImpl<ISceneEditInfoMapper,
//从用户编辑目录中下载视频到本地
String filePath = userEditPath + fileName;
- ossUtil.downloadFile(localImagesPath + fileName, filePath);
+ ossUtil.downloadFile(filePath, localImagesPath + fileName);
//视频格式转换
CreateObjUtil.mp4ToFlv(localFilePath, localFilePath.replace("mp4", "flv"));
@@ -45,6 +45,12 @@ spring:
# write-dates-as-timestamps: true ##开启时间转换为时间戳,默认true
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
+ servlet:
+ multipart:
+ # 设置单个文件大小
+ max-file-size: 1024MB
+ # 设置单次请求文件的总大小
+ max-request-size: 1024MB
datasource:
name: druidDataSource
type: com.alibaba.druid.pool.DruidDataSource