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

@@ -78,7 +78,7 @@ class AdminPlatformOrderExportRefundReceiptFieldsTest extends TestCase
],
]);
$res = $this->get('/admin/platform-orders/export');
$res = $this->get('/admin/platform-orders/export?download=1');
$res->assertOk();
$content = $res->streamedContent();