Commit 4062f3c4 authored by hujun's avatar hujun

模糊搜索

parent 63d4feeb
......@@ -778,11 +778,11 @@ class Broker extends Basic
}
if (!empty($this->params['name'])) {
$where['name'] = $this->params['name'];
$where['name'] = ['LIKE', '%'.$this->params['name'].'%'];
}
if (!empty($this->params['phone'])) {
$where['phone'] = $this->params['phone'];
$where['phone'] = ['LIKE', '%'.$this->params['phone'].'%'];
}
if (!empty($this->params['site_id'])) {
......
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