Skip to content

Commit

Permalink
Merge pull request #4 from wscrlhs/master
Browse files Browse the repository at this point in the history
添加企业客户标签
  • Loading branch information
jianzhenchen authored Jan 26, 2021
2 parents a3210f1 + 7f57388 commit 586b76d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Work/ExternalContact/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
* 编辑客户企业标签.
*
Expand Down

0 comments on commit 586b76d

Please sign in to comment.