update m2pool 注销用户接口相关查询新增del_flag条件,开启注销用户谷歌验证

This commit is contained in:
yyb
2026-01-09 09:49:15 +08:00
parent 0e0b1a6cfd
commit f0f9394807
4 changed files with 7 additions and 12 deletions

View File

@@ -591,10 +591,9 @@ public class SysLoginService {
throw new ServiceException("验证码未获取或已过期,请重新获取验证码");
}
R<Boolean> booleanR1 = remoteUserService.checkGoogleCode(closeAccountVo, SecurityConstants.INNER);
System.out.println("谷歌验证码"+booleanR1);
//if(booleanR1 == null || !booleanR1.getData()){
// throw new ServiceException("谷歌验证码错误");
//}
if(booleanR1 == null || !booleanR1.getData()){
throw new ServiceException("谷歌验证码错误");
}
R<LoginUser> userInfo = remoteUserService.getUserInfo(SecurityUtils.getUsername(), SecurityConstants.INNER);
if (R.FAIL == userInfo.getCode()) {