update m2pool 注销账号后新注册修改

This commit is contained in:
yyb
2026-01-04 17:31:13 +08:00
parent 89bf55b4ce
commit dccbb10512
4 changed files with 11 additions and 8 deletions

View File

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