...
|
...
|
@@ -32,8 +32,6 @@ class Login extends Base |
|
|
$url = "https://api.weixin.qq.com/sns/jscode2session?appid=" . $appid . "&secret=" . $AppSecret . "&js_code=" . $code . "&grant_type=authorization_code";
|
|
|
$result = http_request($url);
|
|
|
$res = json_decode($result, true);
|
|
|
print_r($res);return;
|
|
|
|
|
|
if (!$res) {
|
|
|
$this->error("授权失败,请尝试重新授权");
|
|
|
//$res = json_decode(send_post($url), true);
|
...
|
...
|
|