shish il y a 5 ans
Parent
commit
072c2cd101
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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];
                 $where['name'] = ['like', $name];
             }
             }
         }else{
         }else{
-            $where['name'] = 'shishaohua8879';
+            if($name !='*'){
+                $where['name'] = 'shishaohua8879';
+            }
         }
         }
         $list = CustomService::getCustomList($where);
         $list = CustomService::getCustomList($where);
         $shop = $this->shop;
         $shop = $this->shop;