This commit is contained in:
mkm 2023-12-02 14:57:27 +08:00
parent 39e5ef9d03
commit 2e5bc12576
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@ class ImportProductJob implements JobInterface
{
public function fire($job, $data)
{
Log::info('开始导入商品:');
if ($job->attempts() > 1) {
$job->delete();
$this->failed($data);

View File

@ -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);
}
}