From 2dbddd56c9484c45533d59e00b66c8642c486fc4 Mon Sep 17 00:00:00 2001 From: guojia <445241500@qq.com> Date: Sun, 5 May 2024 18:44:48 +0800 Subject: [PATCH] 1 --- app/api/controller/Merchant.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }