景点列表更新

hotfix/paypal-note
赵鹏 4 years ago
parent 3e401869fe
commit 8bb849e82d

@ -268,7 +268,7 @@ class Api_model extends CI_Model {
inner join infoStructures on ic_id=is_ic_id
where is_id = ? ";
$query = $this->HT->query ($sql ,array($new_pid));
$query = $this->InfoCT->query ($sql ,array($new_pid));
if ($query->num_rows()>0){
$url = $query->row()->ic_url;
@ -314,10 +314,7 @@ class Api_model extends CI_Model {
order by sortby
";
echo ("url:".$url."/%".",pid:".$new_pid."<br/>");
echo ("sql:".$sql);
die();
$qurey = $this->InfoCT->query($sql,array($url."/%",$new_pid));
return $qurey->result();
}

Loading…
Cancel
Save