进行了一些小优化
This commit is contained in:
@@ -359,8 +359,8 @@ class PaymentRuntime {
|
||||
$box_position = 'top';
|
||||
}
|
||||
|
||||
$status_keys = ['pending', 'paid', 'completed', 'cancelled', 'refunded', 'refunding', 'processing'];
|
||||
$status_defaults = ['待支付', '已支付', '已完成', '已取消', '已退款', '退款中', '处理中'];
|
||||
$status_keys = ['pending', 'paid', 'refunding', 'refunded', 'closed'];
|
||||
$status_defaults = ['待支付', '已支付', '退款中', '已退款', '已关闭'];
|
||||
$status_texts = [];
|
||||
foreach ($status_keys as $i => $key) {
|
||||
$val = trim((string) ($s["payment_order_status_{$key}"] ?? ''));
|
||||
|
||||
Reference in New Issue
Block a user