<?php $appkey = 'your_appkey_here';//你的appkey $url = "https://api.jisuapi.com/expressaddress/query?appkey=$appkey"; $address= '杭州市余杭区通运路378号 马乐15000000000邮编038300'; $post = array('type'=>$type, 'number'=>$number ); $result = curlOpen($url, array('post'=>$post, 'ssl'=>true)); $jsonarr = json_decode($result, true); if($jsonarr['status'] != 0) { echo $jsonarr['msg']; exit(); }