From 662394d247d5fe9f911cdf52d1c2e5eff5333b2d Mon Sep 17 00:00:00 2001 From: Hai Date: Mon, 31 Jul 2017 16:25:01 +0800 Subject: [PATCH] =?UTF-8?q?=E2=80=9C=E5=8F=91=E9=80=81=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E7=BE=A4=E5=8F=91=E6=B6=88=E6=81=AF=E7=BB=99=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E7=9A=84openid=E7=94=A8=E6=88=B7=E2=80=9D=EF=BC=8C=E5=8E=9F?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BB=A3=E7=A0=81=E9=87=8C=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=86=99=E7=9A=84=E6=98=AF$groupID=EF=BC=8C=E5=BA=94?= =?UTF-8?q?=E6=94=B9=E6=88=90$openId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 群发消息.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/群发消息.md b/群发消息.md index 31cea01..0fc9ead 100644 --- a/群发消息.md +++ b/群发消息.md @@ -20,7 +20,7 @@ $broadcast = new Broadcast($appId, $secret); + `$broadcast->send($message)->to();` 群发消息给所有粉丝 + `$broadcast->send($message)->to($groupId);` 群发消息给指定组 + `$broadcast->send($message)->to(array($openId1, $openId2));` 群发消息给指定用户,可以是一个用户,也可以是多个用户,但必须是数组 -+ `$broadcast->send($message)->preview($groupId);` 发送预览群发消息给指定的openid用户 ++ `$broadcast->send($message)->preview($openId);` 发送预览群发消息给指定的openid用户 + `$broadcast->send($message)->preview($wxname, Broadcast::PREVIEW_BY_WXH);` 发送预览群发消息给指定的微信号用户 + `$broadcast->delete($msgId);` 删除群发消息 + `$broadcast->status($msgId);` 查询群发消息发送状态