|
|
|
@ -141,7 +141,7 @@ class Tulanduo extends CI_Controller
|
|
|
|
|
$order_type = intval($vf["package_info"][0]->PAG_ExtendType)===39009 ? 1 : 2;
|
|
|
|
|
$last_code = count($vf["package_info"])-1;
|
|
|
|
|
$last_date = count($vf["cold"])-1;
|
|
|
|
|
$routeName = $vf["package_info"][0]->PAG2_Name . $vf["cold"][0]->pag_code;
|
|
|
|
|
$routeName = $vf["package_info"][0]->PAG2_Name . mb_strtoupper($vf["cold"][0]->pag_code);
|
|
|
|
|
$end_date = strstr($vf["cold"][$last_date]->COLD_StartDate, " ", true);
|
|
|
|
|
if (isset($this->trippest->special_route[$vf["cold"][0]->pag_code])) {
|
|
|
|
|
$routeName = $this->trippest->special_route[$vf["cold"][0]->pag_code]["name"];
|
|
|
|
@ -152,6 +152,7 @@ class Tulanduo extends CI_Controller
|
|
|
|
|
if ($take_apart===true) {
|
|
|
|
|
$agcOrderNo .= "-" . $i;
|
|
|
|
|
}
|
|
|
|
|
$agcOrderNo .= "(" . $vf["cold"][0]->operator . ")";
|
|
|
|
|
$order_remark = "";
|
|
|
|
|
if (trim($vf['cold'][0]->GUT_TEL) != "") {
|
|
|
|
|
$order_remark = "预定人电话:" . trim($vf["cold"][0]->GUT_TEL);
|
|
|
|
@ -301,10 +302,11 @@ class Tulanduo extends CI_Controller
|
|
|
|
|
->setTravelFeesRemark($kf, $vf->GAI_Memo);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// echo(($this->tldOrderBuilder->getBizContent()));
|
|
|
|
|
$this->output->set_content_type('application/json')->set_output($this->tldOrderBuilder->getBizContent());
|
|
|
|
|
$resp = $this->excute_curl($this->neworder_url, $this->tldOrderBuilder);
|
|
|
|
|
var_dump($resp);
|
|
|
|
|
echo(($this->tldOrderBuilder->getBizContent()));
|
|
|
|
|
// $this->output->set_content_type('application/json')->set_output($this->tldOrderBuilder->getBizContent());
|
|
|
|
|
// $resp = $this->excute_curl($this->neworder_url, $this->tldOrderBuilder);
|
|
|
|
|
// var_dump($resp);
|
|
|
|
|
|
|
|
|
|
/** BIZ_GroupCombineInfo */
|
|
|
|
|
// if (json_decode($resp)->status == 1) {
|
|
|
|
|
// log_message('error','in GCI ' . json_decode($resp)->responseData->orderId);
|
|
|
|
|