lqmac 7 months ago
parent 5da101d796
commit e542192c3f
  1. 4
      app/store/controller/Goods.php

@ -34,8 +34,8 @@ class Goods extends Controller
// 获取列表记录 // 获取列表记录
$model = new GoodsModel; $model = new GoodsModel;
$params = $this->request->param(); $params = $this->request->param();
$params['channel'] = 'zy'; //$params['channel'] = 'zy';
//$list= $model->getList($params, (int)$this->request->param('pageSize', 15)); $list= $model->getList($params, (int)$this->request->param('pageSize', 15));
return $this->renderSuccess(compact('list')); return $this->renderSuccess(compact('list'));
} }

Loading…
Cancel
Save