php发送get请求


$url
= "https://api.weixin.qq.com/cgi-bin;
//file_get_contents发送get请求
json_decode转换数据
$data = json_decode(file_get_contents($url,true),true);

 

posted @ 2022-04-24 09:39  早早早点睡觉  阅读(1191)  评论(0)    收藏  举报