From 4513417900ec100fbe441c4700ce4e17491f0f57 Mon Sep 17 00:00:00 2001 From: Edmond Lang Date: Fri, 13 Jun 2025 00:43:36 +0800 Subject: [PATCH] update /export/all-customers-info-for-lark-system --- .../Controllers/Exports/ExportCustomersToExcelController.php | 4 ++-- resources/views/pages/downloads/index.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php index 9299e1a8..c63370a9 100644 --- a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php +++ b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php @@ -246,12 +246,12 @@ class ExportCustomersToExcelController public function exportAllCustomersInfoForLarkSystem(Request $request) { $password = $request->input('password'); - if ($password !== 'exchange_all_customers_data') { + if ($password !== 'all_customers_data') { return response()->json(['error' => 'Invalid password'], 403); } $exportsAllCustomersInfoForLarkSystem = new ExportsAllCustomersInfoForLarkSystem($request); - $exportFileName = 'all_customers_info_for_lark_system.xls'; + $exportFileName = 'exchange_all_customers_info_for_lark_system.xls'; $filesystemDriver = Storage::getDefaultDriver(); if ($filesystemDriver === 's3') { diff --git a/resources/views/pages/downloads/index.blade.php b/resources/views/pages/downloads/index.blade.php index 85cb7c6d..355aa1a2 100644 --- a/resources/views/pages/downloads/index.blade.php +++ b/resources/views/pages/downloads/index.blade.php @@ -73,7 +73,7 @@
- all_customers_info_for_lark_system.xls + exchange_all_customers_info_for_lark_system.xls Download