jerry 1 năm trước cách đây
mục cha
commit
cd4943335a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      common/libs/IpFilter.php

+ 2 - 2
common/libs/IpFilter.php

@@ -29,8 +29,8 @@ class IpFilter extends Component
 
         // 登录接口不需要验证
         if (!self::remoteAddrCall($remoteAddr)) {
-            Yii::info('GET 参数: ' . json_encode(is_array($getParams) ? $getParams : [], JSON_PRETTY_PRINT), __METHOD__);
-            Yii::info('POST 参数: ' . json_encode(is_array($postParams) ? $getParams : [], JSON_PRETTY_PRINT), __METHOD__);
+            Yii::warning('GET 参数: ' . json_encode(is_array($getParams) ? $getParams : [], JSON_PRETTY_PRINT), __METHOD__);
+            Yii::warning('POST 参数: ' . json_encode(is_array($postParams) ? $getParams : [], JSON_PRETTY_PRINT), __METHOD__);
             throw new BadRequestHttpException('用户名或者密码错误');
         }
     }