Commit 8c8d6740 authored by 赵啸非's avatar 赵啸非

更新申报次数

parent 6e3cffdd
...@@ -45,9 +45,9 @@ public class LoginForm extends BaseForm { ...@@ -45,9 +45,9 @@ public class LoginForm extends BaseForm {
if (loginName == null || loginName.trim().length() == 0) { if (loginName == null || loginName.trim().length() == 0) {
throw new AppException("帐号不能为空!"); throw new AppException("帐号不能为空!");
} }
if (password == null || password.trim().length() == 0) { /* if (password == null || password.trim().length() == 0) {
throw new AppException("密码不能为空!"); throw new AppException("密码不能为空!");
} }*/
// if (securityCode == null || securityCode.trim().length() == 0) { // if (securityCode == null || securityCode.trim().length() == 0) {
// throw new AppException("验证码不能为空!"); // throw new AppException("验证码不能为空!");
// } // }
......
...@@ -22,12 +22,7 @@ public class LoginForm { ...@@ -22,12 +22,7 @@ public class LoginForm {
if (loginName == null || loginName.trim().length() == 0) { if (loginName == null || loginName.trim().length() == 0) {
throw new AppException("帐号不能为空!"); throw new AppException("帐号不能为空!");
} }
if (password == null || password.trim().length() == 0) {
throw new AppException("密码不能为空!");
}
if (securityCode == null || securityCode.trim().length() == 0) {
throw new AppException("验证码不能为空!");
}
return true; return true;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment