正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -96,8 +96,8 @@ class Index extends Api | @@ -96,8 +96,8 @@ class Index extends Api | ||
96 | public function senWxmsgToAgentUser($titdesc="", $remark="") | 96 | public function senWxmsgToAgentUser($titdesc="", $remark="") |
97 | { | 97 | { |
98 | 98 | ||
99 | - $appid = 'wxb7dd0c03865a94e0';//公众号的appid | ||
100 | - $secret = '6af75a6fb8211da45631630e34769f82'; | 99 | + $appid = 'wx58ceff4e93cfc523';//公众号的appid |
100 | + $secret = 'baf744d21875280a5e98611f66adaf91'; | ||
101 | // 获取token | 101 | // 获取token |
102 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret; | 102 | $myurl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $appid . "&secret=" . $secret; |
103 | $json_token = http_request($myurl); | 103 | $json_token = http_request($myurl); |
-
请 注册 或 登录 后发表评论