Commit 6389985a authored by hujun's avatar hujun

//

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