فهرست منبع

fixed:枚举修复

刘学玺 4 ماه پیش
والد
کامیت
ba258bd2fe
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Services/Client/OrderService.php

+ 1 - 1
app/Services/Client/OrderService.php

@@ -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)
             );