diff --git a/crmeb/jobs/ImportProductJob.php b/crmeb/jobs/ImportProductJob.php index 98dfb34a..05934c9c 100644 --- a/crmeb/jobs/ImportProductJob.php +++ b/crmeb/jobs/ImportProductJob.php @@ -10,7 +10,6 @@ class ImportProductJob implements JobInterface { public function fire($job, $data) { - Log::info('开始导入商品:'); if ($job->attempts() > 1) { $job->delete(); $this->failed($data); diff --git a/crmeb/services/SpreadsheetExcelService.php b/crmeb/services/SpreadsheetExcelService.php index ad83abab..f454ddb8 100644 --- a/crmeb/services/SpreadsheetExcelService.php +++ b/crmeb/services/SpreadsheetExcelService.php @@ -378,7 +378,7 @@ class SpreadsheetExcelService if($is_limit==true){ $limit=$sheet->getHighestRow(); if($limit>$count){ - throw new ValidateException('导入的条数超过限制数量:'.$count); + throw new ValidateException('导入的条数超过限制数量:'.$count.',当前表格数量'.$limit); } }