feat: platform orders export require download=1 safety valve

This commit is contained in:
萝卜
2026-03-13 22:40:56 +00:00
parent 6a666b4c2a
commit 1f832477c0
11 changed files with 53 additions and 14 deletions

View File

@@ -142,7 +142,7 @@ class AdminPlatformOrderExportRefundInconsistentToleranceConfigTest extends Test
],
]);
$res = $this->get('/admin/platform-orders/export?refund_inconsistent=1');
$res = $this->get('/admin/platform-orders/export?download=1&refund_inconsistent=1');
$res->assertOk();
$content = $res->streamedContent();