更新支付回调
This commit is contained in:
parent
f6479968b5
commit
d3fc117864
@ -26,7 +26,7 @@ class paySuccessMargin
|
||||
Db::name('merchant')->where('mer_id', $marginInfo['mer_id'] ?? 0)->where('uid', $marginInfo['uid'] ?? 0)->update([
|
||||
'margin' => $marginAmount
|
||||
]);
|
||||
$rechargeAmount = (float)$marginInfo['recharge_margin'] - (float)$merchantInfo['total_price'];
|
||||
$rechargeAmount = (float)$merchantInfo['recharge_margin'] - (float)$marginInfo['total_price'];
|
||||
Db::name('merchant')->where('mer_id', $marginInfo['mer_id'] ?? 0)->where('uid', $marginInfo['uid'] ?? 0)->update([
|
||||
'recharge_margin' => $rechargeAmount
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user