Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
chenbo 2023-12-02 15:55:10 +08:00
commit 45512816ef
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);
}
}