Commit 6389985a authored by hujun's avatar hujun

//

parent c8f07ecd
...@@ -227,10 +227,10 @@ class OfficeService ...@@ -227,10 +227,10 @@ class OfficeService
$result['status'] = 'fail'; $result['status'] = 'fail';
$result['msg'] = ''; $result['msg'] = '';
$where = []; $where = [];
if (empty($params['city']) && empty($params['id'])) { // if (empty($params['city']) && empty($params['id'])) {
$result['msg'] = '参数错误'; // $result['msg'] = '参数错误';
return $result; // return $result;
} // }
if (isset($params['title'])) { if (isset($params['title'])) {
$where['title'] = ['LIKE', '%'.$params['title'].'%']; $where['title'] = ['LIKE', '%'.$params['title'].'%'];
......
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