|
@@ -1203,7 +1203,7 @@ public class PaperServiceImpl implements PaperService {
|
|
|
long fileSize = file.getSize();
|
|
|
int size = Integer.parseInt(sysProperty.getAudioMaxsize());
|
|
|
if (fileSize > (size * 1048576L)) {
|
|
|
- throw new StatusException("400", "音频文件过大,限制5M内!");
|
|
|
+ throw new StatusException("400", "音频文件过大,限制"+size+"M内!");
|
|
|
}
|
|
|
|
|
|
//根据试卷查询所有的小题,根据文件名匹配出当前小题ID
|