PDF同步

This commit is contained in:
chengxl
2025-09-26 14:36:51 +08:00
parent 2e361e0d5d
commit 303768fbab

View File

@@ -421,6 +421,13 @@ class Publish extends Base
$pra['journal_stage_id'] = $data['journal_stage_id'];
$res = object_to_array(json_decode(myPost($url, $pra)));
$res1 = object_to_array(json_decode(myPost($url1, $pra)));
//同步分期下的文章PDF文件到ftp.portico.org chengxiaoling 20250925 start
if(!empty($data['journal_stage_id'])){
$sQueueId = \think\Queue::push('app\api\job\SyncArticleData@fire', ['journal_stage_id' => $data['journal_stage_id']], 'SyncArticleData');
}
//同步分期下的文章PDF文件到ftp.portico.org chengxiaoling 20250925 end
return jsonSuccess([]);
}