diff --git a/app/controller/AdminZoneManage.php b/app/controller/AdminZoneManage.php index ec6002c..33c224e 100644 --- a/app/controller/AdminZoneManage.php +++ b/app/controller/AdminZoneManage.php @@ -20,7 +20,7 @@ class AdminZoneManage extends BaseController public function zoneGoodsList() { $param = Request::param(); - return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param['zone_id'],true)); + return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param,true)); } /** diff --git a/app/controller/Zone.php b/app/controller/Zone.php index 56c8b2e..d8d36a4 100644 --- a/app/controller/Zone.php +++ b/app/controller/Zone.php @@ -32,7 +32,7 @@ class Zone extends BaseController public function zoneGoodsList() { $param = Request::param(); - return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param['zone_id'])); + return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param)); } /**