@@ -459,7 +459,7 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
throw new BusinessException("考试记录的学生Id和当前登录用户不一致");
}
- String filePath = "upload/" + sdf.format(new Date()) + "/" + uuid() + ".json";
+ String filePath = "upload/" + sdf.format(new Date()) + "/" + uuid() + "."+suffix;
InputStream in = null;
try {
String fileMd5 = DigestUtils.md5Hex(file.getBytes());