修改采购款支付的错误

This commit is contained in:
lewis 2025-01-04 17:52:41 +08:00
parent 6379fa0eae
commit c5968370b6

View File

@ -189,7 +189,6 @@ class PayNotifyLogic extends BaseLogic
if ($user['purchase_funds'] < $order['pay_price']) { if ($user['purchase_funds'] < $order['pay_price']) {
throw new \Exception('采购款不足'); throw new \Exception('采购款不足');
} }
$order->money = $order['pay_price'];
$order->paid = 1; $order->paid = 1;
$order->status = 1; $order->status = 1;
$order->pay_time = time(); $order->pay_time = time();