@ -451,7 +451,7 @@ class webgetbokun extends CI_Controller
$strParam.="'/day-tours/".strtolower(str_replace(" ","-",$city))."/',";
}
$strParam = trim($strParam,",");
//$strParam = "/beijing/"; //本地测试
// $strParam = "'/beijing/','/shanghai/'"; //本地测试
//传递
$list = $this->tpBokun_model->getChtTours($strParam);
if ($list){
@ -267,12 +267,12 @@ class TpBokun_model extends CI_Model
select is_id from infoStructures
inner join infoContents on is_ic_id=ic_id
where 1=1
and ic_url in (?)
and ic_url in (".$strcity.")
and is_sitecode='cht'
)
";
$query = $this->HT->query($sql,array($strcity));
$query = $this->HT->query($sql);
return $query->result();