邮箱-重置密码-去掉校验支付密码

This commit is contained in:
khalil
2025-04-17 18:54:30 +08:00
parent 80082f50dc
commit 44248d4a14

View File

@@ -410,7 +410,7 @@ public class AccountManageService {
}
Account account = accountService.getAccountByEmail(email);
if (null == account || !StringUtils.hasText(account.getPassword())) {
if (null == account) {
throw new ServiceException(BusiStatus.ACCOUNT_NOT_BIND_EMAIL);
} else if (null != uid && !account.getUid().equals(uid)) {
throw new ServiceException(BusiStatus.ACCOUNT_BIND_EMAIL_DIFF);