Browse Source

参数错误

master
wanghongjun 2 years ago
parent
commit
ecb5a9de74
  1. 2
      app/controller/AdminZoneManage.php
  2. 2
      app/controller/Zone.php

2
app/controller/AdminZoneManage.php

@ -20,7 +20,7 @@ class AdminZoneManage extends BaseController
public function zoneGoodsList() public function zoneGoodsList()
{ {
$param = Request::param(); $param = Request::param();
return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param['zone_id'],true)); return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param,true));
} }
/** /**

2
app/controller/Zone.php

@ -32,7 +32,7 @@ class Zone extends BaseController
public function zoneGoodsList() public function zoneGoodsList()
{ {
$param = Request::param(); $param = Request::param();
return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param['zone_id'])); return $this->renderSuccess('数据返回成功',ZoneGoods::getList($param));
} }
/** /**

Loading…
Cancel
Save