Ver Fonte

。。。

wangwei há 7 anos atrás
pai
commit
1c0b4af3a9

+ 1 - 1
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/StudentController.java

@@ -229,7 +229,7 @@ public class StudentController extends ControllerSupport {
 			throw new StatusException("B-450111", "新密码为空");
 		}
 		if (!newPassword.matches("[a-zA-Z0-9]{6,18}")) {
-			throw new StatusException("B-450111", "密码必须为6至18位字母和数字组合");
+			throw new StatusException("B-450111", "密码必须是6至18位字母或数字");
 		}
 
 		Student s = studentRepo.findOne(accessUser.getStudentId());