From a2b6431813eef2ab1195be7599dfc8c67aadf99f Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Thu, 27 Jun 2024 18:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=84=E7=90=86=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E8=A1=A8=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/PayNotifyLogic.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index 311be253b..68780e46a 100644 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -222,7 +222,7 @@ class PayNotifyLogic extends BaseLogic //查询当前用户有无对应的充值的冻结金额 if($order['uid'] >0 ){ $query = UserSign::where([ - 'user_id'=>$order['uid'], + 'uid'=>$order['uid'], 'type'=>1, 'status'=>0 ]); @@ -236,7 +236,7 @@ class PayNotifyLogic extends BaseLogic //存在拆单子否 //少了就冻结减去这个对应的金额 $one = UserSign::where([ - 'user_id'=>$order['uid'], + 'uid'=>$order['uid'], 'type'=>1, 'status'=>0 ])->find(); @@ -292,7 +292,7 @@ class PayNotifyLogic extends BaseLogic //先处理金额大的再处理剩余的 /**** 把所有的金额改为正的再加一条后再加***/ UserSign::where([ - 'user_id'=>$order['uid'], + 'uid'=>$order['uid'], 'type'=>1, 'status'=>0 ])->update([