forked from dyf/fys-Multi-tenant
snailjob配置
This commit is contained in:
@ -452,7 +452,7 @@ public class AudioProcessService {
|
||||
long fileSize = 256 * 1024;
|
||||
// 检查文件大小
|
||||
if (file.getSize() > fileSize) {
|
||||
throw new IllegalArgumentException("音频大小不能超过5MB");
|
||||
throw new IllegalArgumentException("音频大小不能超过256kb");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user