main
parent
fc6b4848c2
commit
4937582b20
|
|
@ -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()))) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue