geek 4 anni fa
parent
commit
581cef30cf
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      application/index/controller/Setting.php

+ 2 - 2
application/index/controller/Setting.php

@@ -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);