Commit 27ccbf0d authored by hujun's avatar hujun

去除 log error

parent 4cf84e26
......@@ -119,12 +119,10 @@ class Basic extends Controller
'index/addHousesAgentsExclusive',
'index/houseEdit',
];
$is_auth = 1;
if (in_array($requestPath, $exclude_auth)) {
if (empty($this->params['upload_id']) || ($this->params['upload_id'] != $this->userId)) {
$is_auth = 0;
} else {
$is_auth = 1;
}
}
......
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