84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
写了一个获取access_token的php代码,在服务器中用命令直接运行这个php文件,可以获得access_token的值,但是在浏览器中运行这个php文件,返回的却是false。换了另外一种方式写,用Java代码获取access_token,却是可以的,既能在服务器中运行获得又可以在浏览器中获得
光阴似箭催人老,日月如移越少年。
https://github.com/thenbsp/Wechat
use Thenbsp\Wechat\Wechat; $o = new Wechat(APPID, APPSECRET); var_dump('AccessToken: '.$o->getAccessToken());
https://github.com/thenbsp/Wechat