Browse Source

[智价云] 禁止挂网名称更新

tangyuanwang 2 months ago
parent
commit
8b3192d45e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Manager/Process/ViolationProduct.php

+ 2 - 2
app/Http/Controllers/Manager/Process/ViolationProduct.php

@@ -332,7 +332,7 @@ class ViolationProduct extends Controller
 
         //合并单元格
         $sheet->mergeCells('A1:Q1');
-        $sheet->setCellValue('A1', '违规挂网商品导出(导出时间:' . date('Y-m-d H:i:s', time()) . ')'); // 设置合并后的单元格内容
+        $sheet->setCellValue('A1', '禁止挂网商品导出(导出时间:' . date('Y-m-d H:i:s', time()) . ')'); // 设置合并后的单元格内容
         // 获取合并后的单元格样式对象
         $style = $sheet->getStyle('A1');
         // 设置水平居中和垂直居中
@@ -409,7 +409,7 @@ class ViolationProduct extends Controller
         $writer = new Xlsx($spreadsheet);
 
         // 直接输出到浏览器(下载)
-        $filename = '违规挂网商品数据' . date('YmdHis') . '.xlsx';
+        $filename = '禁止挂网商品数据' . date('YmdHis') . '.xlsx';
         header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
         header('Content-Disposition: attachment;filename="' . $filename . '"');
         header('Cache-Control: max-age=0');