diff --git a/WeChat/Draft.php b/WeChat/Draft.php index 16db56c..87dda09 100644 --- a/WeChat/Draft.php +++ b/WeChat/Draft.php @@ -35,6 +35,7 @@ class Draft extends BasicWeChat public function add($articles) { $url = "https://api.weixin.qq.com/cgi-bin/draft/add?access_token=ACCESS_TOKEN"; + $this->registerApi($url, __FUNCTION__, func_get_args()); return $this->httpPostForJson($url, ['articles' => $articles]); }