shish 5 жил өмнө
parent
commit
5a3df3e3a6

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

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