|
|
@ -299,6 +299,7 @@ class Api_model extends CI_Model {
|
|
|
|
WHERE is_sitecode='chinatravel'
|
|
|
|
WHERE is_sitecode='chinatravel'
|
|
|
|
and ic_status=1
|
|
|
|
and ic_status=1
|
|
|
|
and ic_url like ?
|
|
|
|
and ic_url like ?
|
|
|
|
|
|
|
|
and is_parent_id <> ?
|
|
|
|
|
|
|
|
|
|
|
|
UNION ALL
|
|
|
|
UNION ALL
|
|
|
|
|
|
|
|
|
|
|
@ -315,7 +316,7 @@ class Api_model extends CI_Model {
|
|
|
|
|
|
|
|
|
|
|
|
";
|
|
|
|
";
|
|
|
|
|
|
|
|
|
|
|
|
$qurey = $this->InfoCT->query($sql,array($url."/%",$new_pid));
|
|
|
|
$qurey = $this->InfoCT->query($sql,array($url."/%",$new_pid,$new_pid));
|
|
|
|
return $qurey->result();
|
|
|
|
return $qurey->result();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|