{"action":"created","issue":{"url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/261","labels_url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/261/comments","events_url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/261/events","html_url":"https://github.com/dodgepudding/wechat-php-sdk/issues/261","id":110189112,"number":261,"title":"ThinkPHP中引入出现“no access”的问题","user":{"login":"rockyhu","id":15012307,"avatar_url":"https://avatars.githubusercontent.com/u/15012307?v=3","gravatar_id":"","url":"https://api.github.com/users/rockyhu","html_url":"https://github.com/rockyhu","followers_url":"https://api.github.com/users/rockyhu/followers","following_url":"https://api.github.com/users/rockyhu/following{/other_user}","gists_url":"https://api.github.com/users/rockyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/rockyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockyhu/subscriptions","organizations_url":"https://api.github.com/users/rockyhu/orgs","repos_url":"https://api.github.com/users/rockyhu/repos","events_url":"https://api.github.com/users/rockyhu/events{/privacy}","received_events_url":"https://api.github.com/users/rockyhu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-07T09:52:34Z","updated_at":"2015-10-08T01:56:21Z","closed_at":null,"body":"        vendor('wechat.TPWechat', '', '.class.php');\r\n    \t$options = array(\r\n    \t\t'token'=>'chujia886', //填写你设定的key\r\n    \t\t'encodingaeskey'=>'YBrM0NsxDnfI6uUOkkr5FhjVZKQgynO0mIkH4mcrq68', //填写加密用的EncodingAESKey\r\n    \t\t'appid'=>'wx537918332c7c6b6e', //填写高级调用功能的app id\r\n    \t\t'appsecret'=>'1a62cbcd93689ecf5aa4d172f7942fed' //填写高级调用功能的密钥\r\n    \t);\r\n    \t$wechat = new \\TPWechat($options);\r\n    \t$wechat->valid();\r\n    \t$type = $wechat->getRev()->getRevType();\r\n    \techo $type;\r\n调用后出现no access的问题，求解答，谢谢"},"comment":{"url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/comments/146392181","html_url":"https://github.com/dodgepudding/wechat-php-sdk/issues/261#issuecomment-146392181","issue_url":"https://api.github.com/repos/dodgepudding/wechat-php-sdk/issues/261","id":146392181,"user":{"login":"rockyhu","id":15012307,"avatar_url":"https://avatars.githubusercontent.com/u/15012307?v=3","gravatar_id":"","url":"https://api.github.com/users/rockyhu","html_url":"https://github.com/rockyhu","followers_url":"https://api.github.com/users/rockyhu/followers","following_url":"https://api.github.com/users/rockyhu/following{/other_user}","gists_url":"https://api.github.com/users/rockyhu/gists{/gist_id}","starred_url":"https://api.github.com/users/rockyhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockyhu/subscriptions","organizations_url":"https://api.github.com/users/rockyhu/orgs","repos_url":"https://api.github.com/users/rockyhu/repos","events_url":"https://api.github.com/users/rockyhu/events{/privacy}","received_events_url":"https://api.github.com/users/rockyhu/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T01:56:21Z","updated_at":"2015-10-08T01:56:21Z","body":"谢谢你的解答！\r\n\r\n我之前都是配置好了之后，直接访问这个地址，然后一直找问题，最后发现$_GET参数一直都不存在数据。后面才想明白，原来，这是微信服务器调用访问之后才会有数据的！\r\n所以，直接访问出现“no access”也就明白了。\r\n\r\n再次谢谢你的wechat.class.php sek封装，实在是太好了"}}