mobile-first
赵鹏 5 years ago
parent b56bcf35dd
commit 68b5edc500

@ -451,7 +451,7 @@ class webgetbokun extends CI_Controller
$strParam.="'/day-tours/".strtolower(str_replace(" ","-",$city))."/',"; $strParam.="'/day-tours/".strtolower(str_replace(" ","-",$city))."/',";
} }
$strParam = trim($strParam,","); $strParam = trim($strParam,",");
//$strParam = "/beijing/"; //本地测试 // $strParam = "'/beijing/','/shanghai/'"; //本地测试
//传递 //传递
$list = $this->tpBokun_model->getChtTours($strParam); $list = $this->tpBokun_model->getChtTours($strParam);
if ($list){ if ($list){

@ -267,12 +267,12 @@ class TpBokun_model extends CI_Model
select is_id from infoStructures select is_id from infoStructures
inner join infoContents on is_ic_id=ic_id inner join infoContents on is_ic_id=ic_id
where 1=1 where 1=1
and ic_url in (?) and ic_url in (".$strcity.")
and is_sitecode='cht' and is_sitecode='cht'
) )
"; ";
$query = $this->HT->query($sql,array($strcity)); $query = $this->HT->query($sql);
return $query->result(); return $query->result();
} }

Loading…
Cancel
Save