Ver Fonte

。。。

wangwei há 7 anos atrás
pai
commit
9cf8056efc

+ 1 - 1
examcloud-core-examwork-service/src/main/java/cn/com/qmth/examcloud/core/examwork/service/impl/ExamStudentServiceImpl.java

@@ -906,7 +906,7 @@ public class ExamStudentServiceImpl implements ExamStudentService {
 		if (StringUtils.isBlank(paperType)) {
 			paperType = "X";
 		} else if (!paperType.matches("[A-Z]")) {
-			throw new StatusException("E-100020", "paperType must be one of A-Z");
+			throw new StatusException("E-100020", "试卷类型必须为一个大写的英文字母");
 		}
 
 		Long rootOrgId = examStudentInfo.getRootOrgId();