作者 郭文星

1123

... ... @@ -136,11 +136,11 @@ class Index extends Api
'topcolor' => "#173177",
'data' => $info
);
print_r([$openid,$tourl,$ywt_appid,$pagepath]);return;
$json_template = json_encode($template);
$url = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=" . $access_token;
$json = $this->http_request($url, urldecode($json_template));
print_r($json);return;
$rs = json_decode($json, true);
return $rs;
... ...