From 5d26b4c21d221ca0b5deb97b9eb4621845b4153e Mon Sep 17 00:00:00 2001 From: lqmac Date: Fri, 18 Oct 2024 19:28:34 +0800 Subject: [PATCH] 1 --- app/store/controller/Goods.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/store/controller/Goods.php b/app/store/controller/Goods.php index 6158c0ff..f2a1eb5e 100644 --- a/app/store/controller/Goods.php +++ b/app/store/controller/Goods.php @@ -57,10 +57,7 @@ class Goods extends Controller if (!isset($params['merchant_id']) || !$params['merchant_id']) { $params['merchant_id'] = $this->merchantId; } - $params['p_store_id'] = $this->storeInfo->p_store_id; - // echo "
";
-        // print_r($this->storeInfo->p_store_id);
-        // exit();
+        $params['storeInfo'] = $this->storeInfo;
         $list = $model->getList($params, (int)$this->request->param('pageSize', 15));
         if ($list->isEmpty()) {
             return $this->renderSuccess(compact('list'));