linhw 2024-05-29 17:55:24 +08:00
parent fc6b4848c2
commit 4937582b20
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class AppLoginController {
AppSchool appSchool = schoolService.selectAppSchoolById(
registerForm.getSchoolId()
);
Assert.isNull(appSchool, "学校不存在!");
Assert.notNull(appSchool, "学校不存在!");
String email = registerForm.getEmail();
if (StringUtils.isNotEmpty(email) && appSchool.getEmail() != null && appSchool.getEmail().equals(email.substring(email.indexOf("@") + 1,email.length()))) {