摘要: public function qrcode() { // 二维码链接 $href = 'http://' . $_SERVER['HTTP_HOST'] . '/?g=diapp&m=register&a=index_member&type=1&wxref=mp.weixin.qq.com'; / 阅读全文
posted @ 2019-04-25 16:21 able-woman 阅读(197) 评论(0) 推荐(0) 编辑
摘要: class Wxfollow { protected $appid = 'wxf1d959b99f33b156'; protected $secret = '248f3a560604555ec96215c085cb2723'; protected $url = ""; protected $acce 阅读全文
posted @ 2019-04-25 16:15 able-woman 阅读(856) 评论(1) 推荐(0) 编辑
摘要: 方法一: <?php $access_token = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=XXXXXXXXXXXXXXXXXX&secret=XXXXXXXXXXXXXXXXXXXXX 阅读全文
posted @ 2019-04-25 16:10 able-woman 阅读(1053) 评论(0) 推荐(0) 编辑
摘要: <?php class JSSDK { private $appId; private $appSecret; public function __construct($appId, $appSecret) { $this->appId = $appId; $this->appSecret = $a 阅读全文
posted @ 2019-04-25 16:07 able-woman 阅读(433) 评论(0) 推荐(0) 编辑