|
@@ -154,7 +154,6 @@ function send_message($access_token,$openid,$jump_url){
|
|
|
"url"=>$jump_url,
|
|
|
'miniprogram'=>[
|
|
|
"appid"=>"wx4ccfaf737dd24004",// 小程序
|
|
|
- "pagepath"=>"index?foo=bar"
|
|
|
],
|
|
|
'data'=>[
|
|
|
'first'=>[
|
|
@@ -188,7 +187,7 @@ function send_message($access_token,$openid,$jump_url){
|
|
|
]
|
|
|
],
|
|
|
];
|
|
|
- $res = http_curl($url,'post',json_encode($data));
|
|
|
+ $res = http_curl($url,'post',$data);
|
|
|
var_dump($res);
|
|
|
}
|
|
|
|