shish 5 лет назад
Родитель
Сommit
7f224b03e8
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      app-ghs/controllers/CustomController.php

+ 1 - 3
app-ghs/controllers/CustomController.php

@@ -128,9 +128,7 @@ class CustomController extends BaseController
                 $where['name'] = ['like', $name];
             }
         }else{
-            if($name !='*'){
-                $where['name'] = 'shishaohua8879';
-            }
+            $where['name'] = 'shishaohua8879';
         }
         $list = CustomService::getCustomList($where);
         $shop = $this->shop;