|
@@ -422,7 +422,7 @@ readonly class OrderService
|
|
|
$this->walletService->deduct(
|
|
|
userId: $user->id,
|
|
|
amount: $order->balance_amount,
|
|
|
- type: TransactionType::ORDER_PAYMENT,
|
|
|
+ type: TransactionType::PAYMENT->value,
|
|
|
objectId: $order->id,
|
|
|
remark: sprintf('订单[%s]余额支付', $order->order_no)
|
|
|
);
|