正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -136,7 +136,7 @@ class Index extends Api | @@ -136,7 +136,7 @@ class Index extends Api | ||
136 | function sendAstuWxMsgToAgent($info, $openid, $tourl, $appid, $secret, $ywt_appid, $pagepath) | 136 | function sendAstuWxMsgToAgent($info, $openid, $tourl, $appid, $secret, $ywt_appid, $pagepath) |
137 | { | 137 | { |
138 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret; | 138 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret; |
139 | - $json_token = $this->http_request($myurl); | 139 | + $json_token = http_request($myurl); |
140 | $access_tokens = json_decode($json_token, true); | 140 | $access_tokens = json_decode($json_token, true); |
141 | $access_token = $access_tokens['access_token']; | 141 | $access_token = $access_tokens['access_token']; |
142 | 142 |
-
请 注册 或 登录 后发表评论