|
|
@@ -363,6 +363,7 @@ class ExportViolationProductJobs implements ShouldQueue
|
|
|
$sheet->setCellValue('V2', '记录时间');
|
|
|
$sheet->setCellValue('W2', '店铺省');
|
|
|
$sheet->setCellValue('X2', '店铺市');
|
|
|
+ $sheet->setCellValue('Y2', '采集时间');
|
|
|
|
|
|
//平台0=全部,1=淘宝,2=京东,3=拼多多,4=美团,5=药师帮,6=1药城,7=药九九,8=药易购,9=药帮忙,10=熊猫药药11=药房网
|
|
|
$platform_data = [
|
|
|
@@ -416,9 +417,10 @@ class ExportViolationProductJobs implements ShouldQueue
|
|
|
$sheet->setCellValue('V' . $row, date('Y-m-d H:i:s', $item['insert_time']));
|
|
|
$sheet->setCellValue('W' . $row, $item['shipment_province_name']);
|
|
|
$sheet->setCellValue('X' . $row, $item['shipment_city_name']);
|
|
|
+ $sheet->setCellValue('Y' . $row, date('Y-m-d H:i:s', $item['collection_time']));
|
|
|
$row++;
|
|
|
}
|
|
|
- foreach (range('A', 'X') as $column) {
|
|
|
+ foreach (range('A', 'Y') as $column) {
|
|
|
$sheet->getColumnDimension($column)->setAutoSize(true);
|
|
|
}
|
|
|
// 创建Excel文件
|