Commit 8fa6922d authored by 唐峰's avatar 唐峰

注销校验改为15天

parent aa5729e7
......@@ -197,7 +197,8 @@ public class UserRegisterServiceImpl implements IUserRegisterService {
/* 销户时间小于90天不允许再次注册 */
long diffDay = DateUtils.dayDiff(new Date(), lastOne.get().getDeregisterTime());
if (DELETE_USER_AGAIN_REGISTER_INTERVAL >= diffDay) {
throw new UserRegisterLoginException("距离上次销户时间小于90天,无法再次注册");
throw new UserRegisterLoginException("您的账号注销申请正在处理中,请于发起注销申请15天后重新注册");
//throw new UserRegisterLoginException("距离上次销户时间小于90天,无法再次注册");
}
}
......
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