修改处理回调表字段
This commit is contained in:
parent
bc6855fc7c
commit
a2b6431813
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user