|
|
|
|
@ -3304,10 +3304,19 @@ class Information extends CI_Controller {
|
|
|
|
|
$tourdata = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getCliSn/?param=" . $productCode));
|
|
|
|
|
$data["clisn"] = $tourdata->clisn;
|
|
|
|
|
|
|
|
|
|
$tourdetail = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/api/getTourDetail/?param=" . $productCode));
|
|
|
|
|
if ($tourdetail->status =="ok"){
|
|
|
|
|
$tourDays = $tourdetail->data->CLI_Days;
|
|
|
|
|
$tourPassCity = $tourdetail->data->CLI2_PassCity;
|
|
|
|
|
}else{
|
|
|
|
|
$tourDays = 0;
|
|
|
|
|
$tourPassCity = "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//调取模板
|
|
|
|
|
$dataform["TourCode"] = $productCode;
|
|
|
|
|
$dataform["CLI_SN"] = $tourdata->clisn;
|
|
|
|
|
$dataform["TourName"] = $information->ic_title;
|
|
|
|
|
$dataform["TourName"] = $tourDays." Days ".$information->ic_title." (".$tourPassCity.")";
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|