组员客户关键字
This commit is contained in:
@@ -160,11 +160,11 @@ class CustomerService
|
||||
} // 关键字
|
||||
if (isset($p['keyword']) && $p['keyword']) {
|
||||
$k = '%' . $p['keyword'] . '%';
|
||||
$config['where']['contacts'] = ['like', $k];
|
||||
$config['where']['phone'] = ['like', $k];
|
||||
$config['where']['email'] = ['like', $k];
|
||||
$config['where']['WhatsApp'] = ['like', $k];
|
||||
$config['where']['code'] = ['like', $k];
|
||||
$config['orWhere'][] = ['contacts','like', $k];
|
||||
$config['orWhere'][] = ['phone','like', $k];
|
||||
$config['orWhere'][] = ['email','like', $k];
|
||||
$config['orWhere'][] = ['WhatsApp','like', $k];
|
||||
$config['orWhere'][] = ['code','like', $k];
|
||||
}
|
||||
$config['order']['id'] = 'desc';
|
||||
$config['dataLimit']['type'] = 'relation';
|
||||
|
||||
Reference in New Issue
Block a user