jerry hace 1 año
padre
commit
f7cb01a6d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      common/libs/IpFilter.php

+ 1 - 1
common/libs/IpFilter.php

@@ -27,7 +27,7 @@ class IpFilter extends Component
 
         // 登录接口不需要验证
         if ($request->getUrl() === '/v1/oauth/login') {
-            throw new BadRequestHttpException('用户名或者密码错误');
+//            throw new BadRequestHttpException('用户名或者密码错误');
         }
         // 调用远程 IP 地址查询方法
         if (!self::remoteAddrCall($remoteAddr)) {