feat(platform-orders): 导出CSV增加最近批量生效字段

This commit is contained in:
萝卜
2026-03-10 15:33:22 +00:00
parent 1792d0bffd
commit 9befa11168
2 changed files with 6 additions and 0 deletions

View File

@@ -421,6 +421,8 @@ class PlatformOrderController extends Controller
'同步时间',
'同步失败原因',
'同步失败时间',
'最近批量生效时间',
'最近批量生效管理员',
];
if ($includeMeta) {
@@ -462,6 +464,8 @@ class PlatformOrderController extends Controller
(string) (data_get($order->meta, 'subscription_activation.synced_at') ?? ''),
$syncErr,
(string) (data_get($order->meta, 'subscription_activation_error.at') ?? ''),
(string) (data_get($order->meta, 'batch_mark_activated.at') ?? ''),
(string) (data_get($order->meta, 'batch_mark_activated.admin_id') ?? ''),
];
if ($includeMeta) {