diff --git a/app/api/controller/Merchant.php b/app/api/controller/Merchant.php index 4eeee8b0..5e9fca84 100644 --- a/app/api/controller/Merchant.php +++ b/app/api/controller/Merchant.php @@ -141,7 +141,7 @@ class Merchant extends Controller $modelgoods = new GoodsModel; $param = $this->request->param(); - $params['merchantId'] = $r['id']; + $params['merchantId'] = $r['merchant_id']; $listgoods = $modelgoods->getList($param, 3); $list['data'][$kr]['goodsInfo'] = $listgoods; }