webauth.php 268 B

123456789101112
  1. <?php
  2. /**
  3. * Created by ChenTAO.
  4. * User: Administrator
  5. * Date: 15-10-21
  6. * Time: 上午8:52
  7. */
  8. include_once "config.php";
  9. include_once "WeiXin.php";
  10. $weixin = new WeiXin($appId,$appSecret,$token);
  11. $result = $weixin->init()->getWebAuthUserInfo();
  12. print_r($result);