|
|
@@ -220,10 +220,10 @@ public class SysUser extends BaseEntity {
|
|
|
if (user.getStatus() == 0) {
|
|
|
throw new SystemException("账号已被锁定,请联系管理员");
|
|
|
}
|
|
|
-// // 新注册用户需要审核
|
|
|
-// if (user.getStatus() == 2) {
|
|
|
-// throw new SystemException("新注册用户需要审核,请联系管理员");
|
|
|
-// }
|
|
|
+ // 新注册用户需要审核
|
|
|
+ if (user.getStatus() == 2) {
|
|
|
+ throw new SystemException("新注册用户需要审核,请联系管理员");
|
|
|
+ }
|
|
|
// 新注册用户审核不通过
|
|
|
if (user.getStatus() == 3) {
|
|
|
throw new SystemException("新注册用户审核不通过,请联系管理员");
|