定时推送微信公众号
This commit is contained in:
@@ -1054,10 +1054,10 @@ class Aiarticle extends Base
|
||||
* 文章同步到微信公众号草稿箱
|
||||
* @param article_id 文章ID
|
||||
*/
|
||||
public function syncWechat(){
|
||||
public function syncWechat($aParam = []){
|
||||
|
||||
//获取参数
|
||||
$aParam = $this->request->post();
|
||||
$aParam = empty($aParam) ? $this->request->post() : $aParam;
|
||||
|
||||
//文章ID
|
||||
$iArticleId = empty($aParam['article_id'] ) ? '' : $aParam['article_id'];
|
||||
|
||||
Reference in New Issue
Block a user