BUGFIX: 账号重置为游客后,提示混乱

This commit is contained in:
2025-11-28 16:36:34 +08:00
parent 6c8b316dfd
commit cbca666e7b
3 changed files with 4 additions and 2 deletions

View File

@@ -306,8 +306,8 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
setEduAdminToExpire(account);
} else {
toVisitor(account);
return;
// throw new BusinessException("user.expired");
// return;
throw new BusinessException("account.expired", ResultEnum.PROMPT.getCode());
}
}
}