資源簡(jiǎn)介
# wxSendTemplateCode
- 分享代碼,實(shí)現(xiàn)微信小程序 發(fā)送服務(wù)通知的核心代碼
##必讀:
- ①. 其中的 payment.js 文件,只摘取了三個(gè)核心方法,請(qǐng)對(duì)應(yīng)博客進(jìn)行提取操作
- ②. WxController.class.php 文件 至少需要替換三個(gè)地方,尤其要注意對(duì) 方法 sendTemplatePaySuccess()的正確處理
##提示:
- 服務(wù)端我用的是 `ThinkPHP3.2.3` 框架
- 所以在使用 `php` 文件時(shí),請(qǐng)對(duì)應(yīng)改成適合自己框架的代碼格式即可
代碼片段和文件信息
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-05?06:18??wxSendTemplateCode-master\
?????文件???????????6??2018-09-05?06:18??wxSendTemplateCode-master\.gitignore
?????目錄???????????0??2018-09-05?06:18??wxSendTemplateCode-master\.idea\
?????文件?????????180??2018-09-05?06:18??wxSendTemplateCode-master\.idea\vcs.xml
?????文件?????????642??2018-09-05?06:18??wxSendTemplateCode-master\README.md
?????文件????????8508??2018-09-05?06:18??wxSendTemplateCode-master\WxController.class.php
?????文件????????1276??2018-09-05?06:18??wxSendTemplateCode-master\payment.js
-----------?---------??----------?-----??----
?????目錄???????????0??2018-09-05?06:18??wxSendTemplateCode-master\
?????文件???????????6??2018-09-05?06:18??wxSendTemplateCode-master\.gitignore
?????目錄???????????0??2018-09-05?06:18??wxSendTemplateCode-master\.idea\
?????文件?????????180??2018-09-05?06:18??wxSendTemplateCode-master\.idea\vcs.xm
?????文件?????????642??2018-09-05?06:18??wxSendTemplateCode-master\README.md
?????文件????????8508??2018-09-05?06:18??wxSendTemplateCode-master\WxController.class.php
?????文件????????1276??2018-09-05?06:18??wxSendTemplateCode-master\payment.js
評(píng)論
共有 條評(píng)論