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

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

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