/** * 25获取bos端的订单列表 */ public static function GetCarRentalOrderList($json_params) { $bookArr = json_decode($json_params, true); $client = new SoapClient(CARRENTALAPI_BOS_URL); $bosArr = array(); $bosArr['AppKey'] = CARRENTALAPI_BOS_APPKEY; $bosArr['AppSecrete'] = CARRENTALAPI_BOS_APPSECRETE; $bosArr['Request']['UseId'] = $bookArr['UserId']; //用户id $bosArr['Request']['DateTo'] = $bookArr['DateTo']; //搜索开始日期(下单日期) $bosArr['Request']['DateFrom'] = $bookArr['DateFrom']; //搜索结束日期(下单日期) $bosArr['Request'] = json_encode($bosArr['Request']); $bos_json = json_encode($bosArr); $bos_result = $client->GetCarRentalOrderList(array('requestString' => $bos_json)); return $bos_result; }