正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -106,7 +106,7 @@ class Index extends Api | @@ -106,7 +106,7 @@ class Index extends Api | ||
106 | $params = []; | 106 | $params = []; |
107 | $url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=" . $token . "&openid=" . "o5ABA4yWDTLRTf3LkBMMHoV7XOvQ" . "&lang=zh_CN"; | 107 | $url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=" . $token . "&openid=" . "o5ABA4yWDTLRTf3LkBMMHoV7XOvQ" . "&lang=zh_CN"; |
108 | $userInfo = Http::sendRequest($url, $params, 'GET'); | 108 | $userInfo = Http::sendRequest($url, $params, 'GET'); |
109 | - print_r($userInfo);return; | 109 | + print_r($token);return; |
110 | //$url = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=".$token; | 110 | //$url = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=".$token; |
111 | $url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=".$token; | 111 | $url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=".$token; |
112 | 112 |
-
请 注册 或 登录 后发表评论