update m2pool 注销用户接口相关查询新增del_flag条件,开启注销用户谷歌验证
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user