lqmac 1 month ago
parent 82033e6813
commit 5d26b4c21d
  1. 5
      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 "<pre>";
// 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'));

Loading…
Cancel
Save