修复支付状态问题

This commit is contained in:
2026-08-24 17:21:06 +08:00
parent 406fb8d6a6
commit 85a124b886
21 changed files with 198 additions and 308 deletions
+1 -2
View File
@@ -390,11 +390,10 @@ trait BalanceServiceRest {
'product_id' => 0,
'amount' => $amount->decimal(),
'currency' => 'CNY',
'status' => \AKSRT\Payment\Order::STATUS_COMPLETED,
'status' => \AKSRT\Payment\Order::STATUS_PAID,
'payment_method' => 'balance',
'payment_transaction_id' => 'ledger_' . $transaction_id,
'paid_at' => current_time('mysql'),
'completed_at' => current_time('mysql'),
'note' => is_string($note) ? $note : '',
'request_key' => $operation_key,
]);