Skip to content

Commit

Permalink
修改readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abei2017 committed Sep 19, 2018
1 parent 045ca3a commit 0d9de2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ $data = $qrcode->intTemp(3600,9527);// 生成一个数字类临时二维码,
- [x] 小程序码
- [x] 小程序的微信支付
- [x] 小程序模板
- [x] 小程序客服消息

## 学习yii2-wx(learning yii2-wx)
北哥已将yii2-wx的配置和使用设计的简单易懂,因此通过文档和速查表你可以轻松的学会它,但是这也需要你之前对微信相关文档有所阅读。
Expand Down
3 changes: 3 additions & 0 deletions src/mini/template/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -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=';

/**
* 发送模板消息
*
Expand All @@ -44,4 +45,6 @@ public function send($toUser,$templateId,$formId,$data,$extra = []){

return $response->getContent();
}


}

0 comments on commit 0d9de2c

Please sign in to comment.