jerry 1 anno fa
parent
commit
f7cb01a6d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)) {