修改配置中记录日志默认值为2,流媒体跟VoIP,缓存策略,拦截策略默认为1,修改httpclient gson转换时错误
This commit is contained in:
@@ -633,7 +633,8 @@ public class AvController extends BaseController {
|
||||
FileUtils.createDirectory(srcFilePath);
|
||||
//保存源文件
|
||||
for (CommonsMultipartFile sinFile : srcFile) {
|
||||
String srcFileAllPath = srcFilePath+sep+random+FileUtils.getSuffix(sinFile.getOriginalFilename(), true);//新的文件名
|
||||
String r = UUID.randomUUID()+"";
|
||||
String srcFileAllPath = srcFilePath+sep+r+FileUtils.getSuffix(sinFile.getOriginalFilename(), true);//新的文件名
|
||||
File uploadSrcFile = new File(srcFileAllPath);
|
||||
try {
|
||||
FileCopyUtils.copy(sinFile.getBytes(), uploadSrcFile);
|
||||
|
||||
Reference in New Issue
Block a user