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"); } } }