正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
@@ -32,8 +32,6 @@ class Login extends Base | @@ -32,8 +32,6 @@ class Login extends Base | ||
32 | $url = "https://api.weixin.qq.com/sns/jscode2session?appid=" . $appid . "&secret=" . $AppSecret . "&js_code=" . $code . "&grant_type=authorization_code"; | 32 | $url = "https://api.weixin.qq.com/sns/jscode2session?appid=" . $appid . "&secret=" . $AppSecret . "&js_code=" . $code . "&grant_type=authorization_code"; |
33 | $result = http_request($url); | 33 | $result = http_request($url); |
34 | $res = json_decode($result, true); | 34 | $res = json_decode($result, true); |
35 | - print_r($res);return; | ||
36 | - | ||
37 | if (!$res) { | 35 | if (!$res) { |
38 | $this->error("授权失败,请尝试重新授权"); | 36 | $this->error("授权失败,请尝试重新授权"); |
39 | //$res = json_decode(send_post($url), true); | 37 | //$res = json_decode(send_post($url), true); |
-
请 注册 或 登录 后发表评论