正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -136,11 +136,11 @@ class Index extends Api | @@ -136,11 +136,11 @@ class Index extends Api | ||
136 | 'topcolor' => "#173177", | 136 | 'topcolor' => "#173177", |
137 | 'data' => $info | 137 | 'data' => $info |
138 | ); | 138 | ); |
139 | + print_r([$openid,$tourl,$ywt_appid,$pagepath]);return; | ||
139 | 140 | ||
140 | $json_template = json_encode($template); | 141 | $json_template = json_encode($template); |
141 | $url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" . $access_token; | 142 | $url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" . $access_token; |
142 | $json = $this->http_request($url, urldecode($json_template)); | 143 | $json = $this->http_request($url, urldecode($json_template)); |
143 | - print_r($json);return; | ||
144 | 144 | ||
145 | $rs = json_decode($json, true); | 145 | $rs = json_decode($json, true); |
146 | return $rs; | 146 | return $rs; |
-
请 注册 或 登录 后发表评论