zoujiajian пре 2 година
родитељ
комит
835810c3fd

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/user/impl/BadIntentionOpServiceImpl.java

@@ -61,7 +61,7 @@ public class BadIntentionOpServiceImpl implements BadIntentionOpService {
             throw BusinessRuntimeException.getInstance("请先完成图形认证");
         } else {
             //腾讯云图形验证
-            String ip = StringUtil.getInternalAddressByIP(ServletUtil.getClientIP(request));
+            String ip = ServletUtil.getClientIP(request);
             SmsUtil.checkTencentCaptcha(ticket, ip, randStr);
         }
         String dayKey = RedisService.key.PHONE_CODE_USER_NUM_KEY_DAY.getName() + phone;