update /export/all-customers-info-for-lark-system

This commit is contained in:
Edmond Lang
2025-06-13 00:43:36 +08:00
parent 4df160c8ce
commit 4513417900
2 changed files with 3 additions and 3 deletions
@@ -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') {
@@ -73,7 +73,7 @@
<div class="col-md-6">
<div class="card mb-3">
<div class="card-body d-flex justify-content-between align-items-center">
<span>all_customers_info_for_lark_system.xls</span>
<span>exchange_all_customers_info_for_lark_system.xls</span>
<password-protected-download-component custom-class="btn btn-primary" :url="route('exportAllCustomersInfoForLarkSystem.export')">
<i class="fa fa-download"></i> Download
</password-protected-download-component>