shish 5 years ago
parent
commit
5a3df3e3a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app-pt/controllers/ShopController.php

+ 1 - 1
app-pt/controllers/ShopController.php

@@ -19,7 +19,7 @@ class ShopController extends BaseController
             if (stringUtil::isLetter($name)) {
                 $where['py'] = ['like', $name];
             } else {
-                $where['name'] = ['like', $name];
+                $where['shopName'] = ['like', $name];
             }
         }
         $list = ShopService::getShopList($where);