= curl_init();
curl_setopt(curl, CURLOPT_URL,url);//设置调用地址
curl_setopt(curl, CURLOPT_HTTPHEADER...($curl, CURLOPT_POST, 1);//POST数据
//curl_setopt(curl, CURLOPT_POSTFIELDS, [‘...appid’=>nonce,’timestamp’=>
// curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE); //禁用后cURL将终止从服务端进行验证...// curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE); //不验证证书是否存在
// curl_setopt($curl...= curl_exec(curl);
output = json_decode(output,true);
curl_close($curl);
return $output