diff --git a/src/Work/ExternalContact/Client.php b/src/Work/ExternalContact/Client.php index 5a77a1ea0..3cbc24ef4 100644 --- a/src/Work/ExternalContact/Client.php +++ b/src/Work/ExternalContact/Client.php @@ -137,6 +137,24 @@ public function tag_list(array $tag_id = []) return $this->httpPostJson('cgi-bin/externalcontact/get_corp_tag_list', $params); } + /** + * 添加企业客户标签. + * + * @see https://work.weixin.qq.com/api/doc/90000/90135/92117#添加企业客户标签 + * + * @param array $params + * + * @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string + * + * @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException + * @throws \GuzzleHttp\Exception\GuzzleException + */ + + public function addCorpTag(array $params) + { + return $this->httpPostJson('cgi-bin/externalcontact/add_corp_tag', $params); + } + /** * 编辑客户企业标签. *