Commit f8b6965f authored by xuepeng.chang's avatar xuepeng.chang

用户注销可再次注册时间

parent 21443191
......@@ -196,7 +196,7 @@ public class UserRegisterServiceImpl implements IUserRegisterService {
/* 销户时间小于90天不允许再次注册 */
long diffDay = DateUtils.dayDiff(new Date(), lastOne.get().getDeregisterTime());
if (DELETE_USER_AGAIN_REGISTER_INTERVAL >= diffDay) {
if (DELETE_USER_AGAIN_REGISTER_INTERVAL > diffDay) {
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