shish hace 5 años
padre
commit
072c2cd101
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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;