add is path

hotfix/远程访问多媒体中心
lmrwork 7 years ago
parent 39841dcbfd
commit 78cfb2b5ea

@ -244,6 +244,7 @@ class Info_amp extends CI_Controller
foreach ($rs as $info) { foreach ($rs as $info) {
if (!empty($info->ic_content) && !empty($info->ic_url)) { if (!empty($info->ic_content) && !empty($info->ic_url)) {
array_push($newrs, array( array_push($newrs, array(
'is_path' => $info->is_path,
'ic_url' => $info->ic_url, 'ic_url' => $info->ic_url,
'ic_id' => $info->ic_id, 'ic_id' => $info->ic_id,
'title' => $info->ic_title, 'title' => $info->ic_title,

@ -58,6 +58,7 @@ class InfoMetas_model extends CI_Model {
//按节点列表信息含meta数据 //按节点列表信息含meta数据
function list_info_by_path_with_meta($is_path, $site_code) { function list_info_by_path_with_meta($is_path, $site_code) {
$sql = "SELECT is1.is_id, \n" $sql = "SELECT is1.is_id, \n"
. " is1.is_path, \n"
. " ic.ic_id, \n" . " ic.ic_id, \n"
. " ic.ic_url, \n" . " ic.ic_url, \n"
. " ic.ic_status, \n" . " ic.ic_status, \n"

Loading…
Cancel
Save