![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Thinkphp3.2.3
巅峰野怪
哈哈哈哈哈哈哈
展开
-
配置微信公众平台URL关注时自动回复
//1、配置微信公众平台URL //配置微信平台URLpublic function weixinURL(){ //将timestamp,nonce,token按字典排序 $timestamp =$_GET['timestamp']; $nonce =$_GET['nonce']; $echostr =$_GE...原创 2018-09-18 14:43:47 · 1190 阅读 · 0 评论 -
获取微信公众号access_token
//获取access_token public function getWxAccessToken(){ //将access_token存在session/cookie中 if($_SESSION['access_token']&&$_SESSION['expire_time']>time()){ //如果ac...原创 2018-09-18 14:56:19 · 209 阅读 · 0 评论