PDF同步
This commit is contained in:
@@ -421,6 +421,13 @@ class Publish extends Base
|
|||||||
$pra['journal_stage_id'] = $data['journal_stage_id'];
|
$pra['journal_stage_id'] = $data['journal_stage_id'];
|
||||||
$res = object_to_array(json_decode(myPost($url, $pra)));
|
$res = object_to_array(json_decode(myPost($url, $pra)));
|
||||||
$res1 = object_to_array(json_decode(myPost($url1, $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([]);
|
return jsonSuccess([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user