公微
This commit is contained in:
@@ -1104,6 +1104,7 @@ class Aiarticle extends Base
|
|||||||
|
|
||||||
if(!empty($aAiArticle)){
|
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'];
|
$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'){
|
if(!empty($aLog) && $aLog['status_name'] == 'finish'){
|
||||||
$iStatus = 4;//素材上传完成
|
$iStatus = 4;//素材上传完成
|
||||||
}
|
}
|
||||||
|
|
||||||
//判断是否推送到草稿箱
|
//判断是否推送到草稿箱
|
||||||
if(!empty($aLog) && $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();
|
$aDraft = Db::name('ai_wechat_article')->field('is_publish,publish_status,article_id,template_id,wechat_id')->where($aWhere)->find();
|
||||||
|
|||||||
Reference in New Issue
Block a user