From a6ea25b24f0372b1bb6ecec7dc7b492c67bfefce Mon Sep 17 00:00:00 2001 From: jianglong Date: Tue, 30 May 2023 16:54:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/PayNotifyLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 20ae03b..b82150b 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -284,7 +284,7 @@ class PayNotifyLogic } //用户会员卡支付完成后更新相关信息 - $item = OrderUser::where('id',$trade['id'])->find(); + $item = OrderUser::where('trade_id',$trade['id'])->find(); $userShip = UserShip::where('id', $item['org_id'])->find(); UserShip::where('id', $item['org_id'])->inc('sales_num', 1)->update();