This commit is contained in:
chengxl
2025-08-28 13:43:18 +08:00
parent 9197af3493
commit de67a52cb0

View File

@@ -1104,6 +1104,7 @@ class Aiarticle extends Base
if(!empty($aAiArticle)){
$iStatus = 2;
$aMsg = [1 => 'The article has been pushed to the draft box',2 => 'Not pushed to the draft box',3 => 'Material upload in progress',4 => 'Material upload completed'];
//判断是否上传素材
@@ -1125,6 +1126,7 @@ class Aiarticle extends Base
if(!empty($aLog) && $aLog['status_name'] == 'finish'){
$iStatus = 4;//素材上传完成
}
//判断是否推送到草稿箱
if(!empty($aLog) && $iStatus == 4){
$aDraft = Db::name('ai_wechat_article')->field('is_publish,publish_status,article_id,template_id,wechat_id')->where($aWhere)->find();