From 0d9de2ce627c2c9a26ff8ca7a904521d2dfef031 Mon Sep 17 00:00:00 2001 From: abei2017 <2479161482@qq.com> Date: Wed, 19 Sep 2018 08:31:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/mini/template/Template.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 23c8fba..913153f 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ $data = $qrcode->intTemp(3600,9527);// 生成一个数字类临时二维码, - [x] 小程序码 - [x] 小程序的微信支付 - [x] 小程序模板 +- [x] 小程序客服消息 ## 学习yii2-wx(learning yii2-wx) 北哥已将yii2-wx的配置和使用设计的简单易懂,因此通过文档和速查表你可以轻松的学会它,但是这也需要你之前对微信相关文档有所阅读。 diff --git a/src/mini/template/Template.php b/src/mini/template/Template.php index a2c3ef4..61f84ad 100644 --- a/src/mini/template/Template.php +++ b/src/mini/template/Template.php @@ -24,6 +24,7 @@ class Template extends Driver { const API_SEND_TMPL = 'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token='; + /** * 发送模板消息 * @@ -44,4 +45,6 @@ public function send($toUser,$templateId,$formId,$data,$extra = []){ return $response->getContent(); } + + } \ No newline at end of file