Commit c2ef13e0 authored by 常学朋's avatar 常学朋

Merge branch 'feature-20250909-user-deregister-time' into 'master'

用户注销可再次注册时间

See merge request !125
parents 21443191 f8b6965f
......@@ -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