fix(order): 修复支付宝即时到账和扫码支付的订单金额显示问题
- 将 $order->money 更改为 $order->pay_price,以正确保存支付金额 - 修复了订单详情页和用户中心订单列表页的金额显示错误
This commit is contained in:
parent
cf56637d82
commit
80364d4b1a
@ -562,7 +562,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if ($order->pay_type != 10) {
|
if ($order->pay_type != 10) {
|
||||||
$order->money = $extra['buyer_pay_amount'];
|
$order->pay_price = $extra['buyer_pay_amount'];
|
||||||
$order->paid = 1;
|
$order->paid = 1;
|
||||||
$order->pay_time = time();
|
$order->pay_time = time();
|
||||||
$order->status = 1;
|
$order->status = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user