终审调整
This commit is contained in:
@@ -656,6 +656,10 @@ class Material
|
|||||||
$aWhere['log_id'] = $aLog['log_id'];
|
$aWhere['log_id'] = $aLog['log_id'];
|
||||||
$result = Db::name('wechat_api_log')->where($aWhere)->limit(1)->update($aUpdate);
|
$result = Db::name('wechat_api_log')->where($aWhere)->limit(1)->update($aUpdate);
|
||||||
}
|
}
|
||||||
|
if($iProgress >= 100){//上传素材完成后【1分钟后推送草稿箱】
|
||||||
|
$iDelaySeconds = 60;// 1分钟的秒数
|
||||||
|
Queue::later($iDelaySeconds,'app\api\job\WechatDraft@fire', ['article_id' => $iId], 'WechatDraft')
|
||||||
|
}
|
||||||
return json_encode($aResult);
|
return json_encode($aResult);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user