diff --git a/application/api/controller/Base.php b/application/api/controller/Base.php index f62527c..b6373b3 100644 --- a/application/api/controller/Base.php +++ b/application/api/controller/Base.php @@ -523,7 +523,10 @@ class Base extends Controller $this->article_main_table_obj->insert($ins); } - + //写入处理内容里table和figure队列-排版 20260121 start + \think\Queue::later(60,'app\api\job\DealMainFigureOrTable@fire', ['article_id' => $article_id], 'DealMainFigureOrTable'); + //写入处理内容里table和figure队列-排版 20260121 end + $pics = $this->article_file_obj->where("article_id",$article_id)->where("type_name","picturesAndTables")->where("state",0)->order("file_id desc")->limit(1)->select(); if(!isset($pics[0])){ return ;