|
|
@@ -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('用户名或者密码错误');
|
|
|
}
|
|
|
}
|