|
@@ -28,8 +28,8 @@ class Setting extends BaseController {
|
|
|
// $where[] = ['status', '=', 1];
|
|
|
// }
|
|
|
$where = [];
|
|
|
- if (!empty($input['mobile'])) {
|
|
|
- $where[] = ['mobile', 'like', '%' . $input['mobile'] . '%'];
|
|
|
+ if (!empty($input['channel_name'])) {
|
|
|
+ $where[] = ['channel_name', 'like', '%' . $input['channel_name'] . '%'];
|
|
|
}
|
|
|
$model->setWhere($where);
|
|
|
$data = $model->getPageList($model);
|