Commit 510dc1c8 authored by hujun's avatar hujun

||

parent 286c2234
...@@ -77,7 +77,7 @@ class PrivacyNumber ...@@ -77,7 +77,7 @@ class PrivacyNumber
set_time_limit(0); set_time_limit(0);
$param = Request::instance()->param(); $param = Request::instance()->param();
if (empty($param['record_down']) && $param['record_down'] > 2) { if (empty($param['record_down']) || $param['record_down'] > 2) {
return json_encode([ 'code' => 101, 'msg' => '参数错误' ]); return json_encode([ 'code' => 101, 'msg' => '参数错误' ]);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment