定时推送微信公众号

This commit is contained in:
chengxl
2025-05-22 16:58:42 +08:00
parent 73cd0df414
commit 542a4bbd88

View File

@@ -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'];