Add (serp ai gen)
Add (scheduler)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
use App\Helpers\FirstParty\OSSUploader\OSSUploader;
|
||||
use App\Helpers\ThirdParty\DFS\SettingSerpLiveAdvanced;
|
||||
use App\Jobs\PublishIndexPostJob;
|
||||
use App\Models\NewsSerpResult;
|
||||
use DFSClientV3\DFSClient;
|
||||
use Exception;
|
||||
@@ -239,6 +240,8 @@ public static function handle($post)
|
||||
$post->status = 'publish';
|
||||
$post->save();
|
||||
|
||||
PublishIndexPostJob::dispatch($post)->onQueue('default')->onConnection('default');
|
||||
|
||||
return $post;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user