|
@@ -144,7 +144,8 @@ function send_message($access_token,$openid,$jump_url){
|
|
|
// $tem= http_curl($tem_url);
|
|
|
//var_dump($tem);die();
|
|
|
|
|
|
- $url='https://api.weixin.qq.com/cgi-bin/message/template/send?access_token='.$access_token;
|
|
|
+ // $url='https://api.weixin.qq.com/cgi-bin/message/template/send?access_token='.$access_token;
|
|
|
+ $url='https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token='.$access_token;
|
|
|
$data=[
|
|
|
'touser'=>$openid,
|
|
|
"template_id"=>"2n42cwWat6UsokuOd9uqYAKIOF4Jbezw7hwVht11pz4",
|