修复两个问题

This commit is contained in:
kate522 committed 2026-08-24 16:38:03 +08:00
1 parent 48a82403b2
commit 58f3f42bf8
15 files changed
+173 -23

No files matched your search

+1
View File
@@ -714,6 +714,7 @@ class ChargeCard {
$amount = $parsed_amount->decimal();
$currency = 'CNY';
} elseif ($type === self::TYPE_CREDITS) {
$product_type = \AKSRT\Core\DomainModel::ORDER_PRODUCT_POINTS;
$amount = (int) ($meta['points'] ?? 0);
$currency = 'points';
}