shish пре 5 година
родитељ
комит
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;