|
|
@ -212,7 +212,7 @@ class Im extends BaseController |
|
|
} |
|
|
} |
|
|
$keywords = isset($param['keywords']) ? $param['keywords'] : ''; |
|
|
$keywords = isset($param['keywords']) ? $param['keywords'] : ''; |
|
|
if ($keywords && in_array($type, ['text', 'all'])) { |
|
|
if ($keywords && in_array($type, ['text', 'all'])) { |
|
|
$where[] = ['content', 'like', '%' . $keywords . '%']; |
|
|
$where[] = ['plain_text', 'like', '%' . $keywords . '%']; |
|
|
} |
|
|
} |
|
|
// 如果是查询@数据 |
|
|
// 如果是查询@数据 |
|
|
if($is_at){ |
|
|
if($is_at){ |
|
|
|