/** * 26获取订单详细信息 * @param $json_params * @return mixed */ public static function GetCarRentalOrderDetail($json_params) { $arr_params = 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']['UserId'] = $arr_params['UserId']; //用户id $bosArr['Request']['OrderId'] = $arr_params['OrderId']; //订单ID(外部订单号rentalcars返回的订单号) $bosArr['Request'] = json_encode($bosArr['Request']); $bos_json = json_encode($bosArr); $bos_result = $client->GetCarRentalOrderDetail(array('requestString' => $bos_json)); return $bos_result; }