|
|
|
@ -97,14 +97,14 @@ class Information_model extends CI_Model {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//根据根节点路径获取子节点列表
|
|
|
|
|
function get_list_by_path($path, $level = false, $site_code = false) {
|
|
|
|
|
function get_list_by_path($path, $level = false, $site_code = false,$filed=false) {
|
|
|
|
|
$this->init();
|
|
|
|
|
if ($level !== false) {
|
|
|
|
|
$this->level = " AND is1.is_level= '$level' ";
|
|
|
|
|
}
|
|
|
|
|
$this->path = " AND is1.is_path LIKE '$path%' ";
|
|
|
|
|
$this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC ';
|
|
|
|
|
return $this->GetList('', $site_code);
|
|
|
|
|
return $this->GetList($filed, $site_code);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//根据路径获取某一级别节点详细页
|
|
|
|
|