随笔分类 -  php-微信开发

摘要:原生php 微信授权登录: index.php页面: <?php session_start(); if($_SESSION['openid']){ exit('已经授权登录过了。。。'); } { include_once "weixin.class.php"; $wx_login = new W 阅读全文
posted @ 2018-09-26 17:22 你不知道我 阅读(4224) 评论(0) 推荐(0)
摘要:<?php header("Content-type: text/html; charset=utf-8"); $access_token = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=XX 阅读全文
posted @ 2018-09-18 17:13 你不知道我 阅读(1835) 评论(0) 推荐(0)