修改查询条件

mobile-first
cyc 5 years ago
parent 77f10c81d1
commit 2106b07ba1

@ -14,7 +14,7 @@ class infos_model extends CI_Model {
}
function get_emptyamp_pages($sitecode){
$sql = "select ic_url from infoMetas left join infoContents on im_ic_id = ic_id where im_key = 'amp' and ic_sitecode = ? and im_value like '%<!--@CUSTOM-CONENT@-->%'";
$sql = "select ic_url from infoMetas left join infoContents on im_ic_id = ic_id where im_key = 'amp' and ic_sitecode = ? and im_value like '%<!--@CUSTOM-CONENT@-->%' and ic_type = 'none'";
$query = $this->HT->query($sql,array($sitecode));
return $query->result();
}

Loading…
Cancel
Save