...
|
...
|
@@ -66,7 +66,7 @@ class CardController extends RestBaseController |
|
|
if($data['keyword']) {
|
|
|
$condition['c.is_recommend'] = 1;//后台推荐
|
|
|
$condition['c.name|company|tel'] = ['like','%'.$data['keyword'].'%'];
|
|
|
$condition2['c.name|company|tel'] = ['like','%'.$data['keyword'].'%'];
|
|
|
$condition2['c.name|company|tel'] = ['like','%'.$data['keyword'].'%','and'];
|
|
|
//搜索日志
|
|
|
$info = Db::name('search')->where(['keyword' => $data['keyword']])->find();
|
|
|
if ($info) {
|
...
|
...
|
|