新版仿ok交易所-后端
1
zj
20 hours ago 640ccb9229224642515527daf87f308a7aa9bdf4
trading-order-admin/src/main/java/com/yami/trading/api/controller/ApGoogleAuthController.java
@@ -63,7 +63,7 @@
        if (flag) {
            User user = userService.getById(userId);
            if (user.isGoogleAuthBind()) {
                throw new YamiShopBindException("谷歌验证码已绑定");
                throw new YamiShopBindException("Google Authenticator is already bound");
            }
            user.setGoogleAuthBind(true);
            user.setGoogleAuthSecret(model.getSecret());
@@ -75,7 +75,7 @@
            map.put("google_auth_bind",true);
            return Result.succeed(map);
        } else {
            throw new YamiShopBindException("谷歌验证码错误");
            throw new YamiShopBindException("Incorrect Google Authenticator code");
        }
    }
}