From 37c6d12f40f716f3ce30d290b43664de7da9b33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E6=AD=A3=E8=B6=85?= Date: Thu, 23 Apr 2015 17:25:34 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E5=AE=A2=E6=9C=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E4=B8=8E=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 客服管理与发送消息.md | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/客服管理与发送消息.md b/客服管理与发送消息.md index bc3602c..81147bd 100644 --- a/客服管理与发送消息.md +++ b/客服管理与发送消息.md @@ -11,21 +11,6 @@ + `$staff->delete($mail, $nickname, $password);` 删除客服帐号 + `$staff->avatar($mail, $avatarPath);` 设置客服帐号的头像 + `$staff->send($message)->to($openId);` 主动发送消息给用户 -+ 群发消息 - - ```php - // 所有人 - $staff->send($message)->toAll(); - // 指定组 - $staff->send($message)->toGroup($groupId); - // 多个人 - $staff->send($message)->toThem(array($openId, $openId, ...)); - ``` - -指定客服发送消息: - -```php - $staff->send($message)->by('account@test')->to($openId); -``` ++ `$staff->send($message)->by('account@test')->to($openId);` 指定客服发送消息 关于更多客服接口信息请参考微信官方文档:http://mp.weixin.qq.com/wiki/9/6fff6f191ef92c126b043ada035cc935.html \ No newline at end of file