Update README.md
This commit is contained in:
parent
a1d67928e2
commit
e3281514cd
|
@ -67,7 +67,7 @@ PS:为使用方便,以下函数没有对 `access_token` 进行缓存。对
|
||||||
PHP版:
|
PHP版:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
function send_to_wecom($text, $wecom_cid, $wecom_secret, $wecom_aid, $wecom_touid = '@all')
|
function send_to_wecom($text, $wecom_cid, $wecom_aid, $wecom_secret, $wecom_touid = '@all')
|
||||||
{
|
{
|
||||||
$info = @json_decode(file_get_contents("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=".urlencode($wecom_cid)."&corpsecret=".urlencode($wecom_secret)), true);
|
$info = @json_decode(file_get_contents("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid=".urlencode($wecom_cid)."&corpsecret=".urlencode($wecom_secret)), true);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue