/**
     * 构造请求体
     */
    private function getRequestXML()
    {
        /*
         * 从config.php中获取系统的联盟信息(只读)
         */
        $AllianceID = Allianceid;
        $SID = Sid;
        $KEYS = SiteKey;
        $RequestType = "OTA_UserUniqueID";
        //构造权限头部
        $headerRight = getRightString($AllianceID, $SID, $KEYS, $RequestType);
        $UIDs = "";
        if ($this->UID != "") {
            $UIDs = <<<BEGIN
<UidKey>{$this->UID}</UidKey>
BEGIN;
        }
        $paravalues = <<<BEGIN
<?xml version="1.0"?>
<Request>
<Header {$headerRight}/>
<UserRequest>{$UIDs}<AllianceID>{$AllianceID}</AllianceID><SID>{$SID}</SID></UserRequest>
</Request>
BEGIN;
        return $paravalues;
    }
    /**
     *@var 构造请求体
     */
    private function getRequestXML()
    {
        /*
         * 从config.php中获取系统的联盟信息(只读)
         */
        $AllianceID = Allianceid;
        $SID = Sid;
        $KEYS = SiteKey;
        $RequestType = "OTA_FlightSearch";
        //构造权限头部
        $headerRight = getRightString($AllianceID, $SID, $KEYS, $RequestType);
        $SearchType = "";
        if ($this->SearchType != "") {
            $SearchType = <<<BEGIN
<SearchType>{$this->SearchType}</SearchType>
BEGIN;
        }
        //构造航程列表
        $DepartCity = "";
        if ($this->DepartCity != "") {
            $DepartCity = <<<BEGIN
<DepartCity>{$this->DepartCity}</DepartCity>
BEGIN;
        }
        $ArriveCity = "";
        if ($this->ArriveCity != "") {
            $ArriveCity = <<<BEGIN
<ArriveCity>{$this->ArriveCity}</ArriveCity>
BEGIN;
        }
        $DepartDate = "";
        if ($this->DepartDate != "") {
            $DepartDate = <<<BEGIN
<DepartDate>{$this->DepartDate}</DepartDate>
BEGIN;
        }
        $AirlineDibitCode = "";
        if ($this->AirlineDibitCode != "") {
            $AirlineDibitCode = <<<BEGIN
<AirlineDibitCode>{$this->AirlineDibitCode}</AirlineDibitCode>
BEGIN;
        }
        $DepartPort = "";
        if ($this->DepartPort != "") {
            $DepartPort = <<<BEGIN
<DepartPort>{$this->DepartPort}</DepartPort>
BEGIN;
        }
        $ArrivePort = "";
        if ($this->ArrivePort != "") {
            $ArrivePort = <<<BEGIN
<ArrivePort>{$this->ArrivePort}</ArrivePort>
BEGIN;
        }
        $EarliestDepartTime = "";
        if ($this->EarliestDepartTime != "") {
            $EarliestDepartTime = <<<BEGIN
<EarliestDepartTime>{$this->EarliestDepartTime}</EarliestDepartTime>
BEGIN;
        }
        $LatestDepartTime = "";
        if ($this->LatestDepartTime != "") {
            $LatestDepartTime = <<<BEGIN
<LatestDepartTime>{$this->LatestDepartTime}</LatestDepartTime>
BEGIN;
        }
        $Routes = <<<BEGIN
<Routes><FlightRoute>{$DepartCity}{$ArriveCity}{$DepartDate}{$AirlineDibitCode}{$DepartPort}{$ArrivePort}{$EarliestDepartTime}{$LatestDepartTime}</FlightRoute></Routes>
BEGIN;
        // 航程列表到此结束
        $SendTicketCity = "";
        if ($this->SendTicketCity != "") {
            $SendTicketCity = <<<BEGIN
<SendTicketCity>{$this->SendTicketCity}</SendTicketCity>
BEGIN;
        }
        $IsSimpleResponse = "";
        if ($this->IsSimpleResponse != "") {
            $IsSimpleResponse = <<<BEGIN
<IsSimpleResponse>{$this->IsSimpleResponse}</IsSimpleResponse>
BEGIN;
        }
        $IsLowestPrice = "";
        if ($this->IsLowestPrice != "") {
            $IsLowestPrice = <<<BEGIN
<IsLowestPrice>{$this->IsLowestPrice}</IsLowestPrice>
BEGIN;
        }
        $LatestDepartTimeOptions = "";
        if ($this->LatestDepartTimeOptions != "") {
            $LatestDepartTimeOptions = <<<BEGIN
<LatestDepartTimeOptions>{$this->LatestDepartTimeOptions}</LatestDepartTimeOptions>
BEGIN;
        }
        $ProductTypeOptions = "";
        if ($this->ProductTypeOptions != "") {
            $ProductTypeOptions = <<<BEGIN
<ProductTypeOptions>{$this->ProductTypeOptions}</ProductTypeOptions>
BEGIN;
        }
        $Classgrade = "";
        if ($this->Classgrade != "") {
            $Classgrade = <<<BEGIN
<Classgrade>{$this->Classgrade}</Classgrade>
BEGIN;
        }
        $OrderBy = "";
        if ($this->OrderBy != "") {
            $OrderBy = <<<BEGIN
<OrderBy>{$this->OrderBy}</OrderBy>
BEGIN;
        }
        $Direction = "";
        if ($this->Direction != "") {
            $Direction = <<<BEGIN
<Direction>{$this->Direction}</Direction>
BEGIN;
        }
        $paravalue = <<<BEGIN
<?xml version="1.0"?>
<Request>
<Header {$headerRight}/>
<FlightSearchRequest>{$SearchType}{$Routes}{$SendTicketCity}{$IsSimpleResponse}{$IsLowestPrice}{$LatestDepartTimeOptions}{$ProductTypeOptions}{$Classgrade}{$OrderBy}{$Direction}</FlightSearchRequest>
</Request>
BEGIN;
        return $paravalue;
    }