修改处理回调表字段
This commit is contained in:
parent
bc6855fc7c
commit
a2b6431813
@ -222,7 +222,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
//查询当前用户有无对应的充值的冻结金额
|
//查询当前用户有无对应的充值的冻结金额
|
||||||
if($order['uid'] >0 ){
|
if($order['uid'] >0 ){
|
||||||
$query = UserSign::where([
|
$query = UserSign::where([
|
||||||
'user_id'=>$order['uid'],
|
'uid'=>$order['uid'],
|
||||||
'type'=>1,
|
'type'=>1,
|
||||||
'status'=>0
|
'status'=>0
|
||||||
]);
|
]);
|
||||||
@ -236,7 +236,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
//存在拆单子否
|
//存在拆单子否
|
||||||
//少了就冻结减去这个对应的金额
|
//少了就冻结减去这个对应的金额
|
||||||
$one = UserSign::where([
|
$one = UserSign::where([
|
||||||
'user_id'=>$order['uid'],
|
'uid'=>$order['uid'],
|
||||||
'type'=>1,
|
'type'=>1,
|
||||||
'status'=>0
|
'status'=>0
|
||||||
])->find();
|
])->find();
|
||||||
@ -292,7 +292,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
//先处理金额大的再处理剩余的
|
//先处理金额大的再处理剩余的
|
||||||
/**** 把所有的金额改为正的再加一条后再加***/
|
/**** 把所有的金额改为正的再加一条后再加***/
|
||||||
UserSign::where([
|
UserSign::where([
|
||||||
'user_id'=>$order['uid'],
|
'uid'=>$order['uid'],
|
||||||
'type'=>1,
|
'type'=>1,
|
||||||
'status'=>0
|
'status'=>0
|
||||||
])->update([
|
])->update([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user