refactor: 注释掉 `MeetingAudioUploadSupport` 中的 `validateContentType` 方法调用
parent
4e38580258
commit
8cdac8ad9f
|
|
@ -36,7 +36,7 @@ public class MeetingAudioUploadSupport {
|
||||||
}
|
}
|
||||||
|
|
||||||
String extension = resolveExtension(file.getOriginalFilename());
|
String extension = resolveExtension(file.getOriginalFilename());
|
||||||
validateContentType(file.getContentType(), extension);
|
// validateContentType(file.getContentType(), extension);
|
||||||
validateFileHeader(file, extension);
|
validateFileHeader(file, extension);
|
||||||
|
|
||||||
Path stagingDir = resolveStagingAudioDirectory(uploadPath);
|
Path stagingDir = resolveStagingAudioDirectory(uploadPath);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue