|
|
@ -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')); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|