更新目录结构
This commit is contained in:
@@ -27,7 +27,7 @@ class Sent extends \think\template\TagLib {
|
||||
$pid = isset($tag['pid']) ? $tag['pid'] : '';
|
||||
$tree = isset($tag['tree']) ? $tag['tree'] : false;
|
||||
$parse = '<?php ';
|
||||
$parse .= '$__NAV__ = \\app\\model\\Channel::getChannelList('.$type.', "'.$pid.'", '.$tree.');';
|
||||
$parse .= '$__NAV__ = \\app\\model\\system\\Channel::getChannelList('.$type.', "'.$pid.'", '.$tree.');';
|
||||
$parse .= 'foreach ($__NAV__ as $key => $'.$tag['name'].') {';
|
||||
$parse .= '?>';
|
||||
$parse .= $content;
|
||||
@@ -44,7 +44,7 @@ class Sent extends \think\template\TagLib {
|
||||
$name = isset($tag['name']) ? $tag['name'] : 'item';
|
||||
|
||||
$parse = $parse = '<?php ';
|
||||
$parse .= '$__LIST__ = \\app\\model\\Document::getDocumentList("'.$model.'", '.$cid.', '.$limit.', "'.$order.'", "'.$field.'");';
|
||||
$parse .= '$__LIST__ = \\app\\model\\module\\Document::getDocumentList("'.$model.'", '.$cid.', '.$limit.', "'.$order.'", "'.$field.'");';
|
||||
$parse .= 'foreach ($__LIST__ as $key => $'.$name.') {';
|
||||
$parse .= '?>';
|
||||
$parse .= $content;
|
||||
@@ -66,7 +66,7 @@ class Sent extends \think\template\TagLib {
|
||||
$map = implode(" and ", $where);
|
||||
|
||||
$parse = $parse = '<?php ';
|
||||
$parse .= '$__LIST__ = \\app\\model\\Link::where(\''.$map.'\')->field(\''.$field.'\')->limit(\''.$limit.'\')->order(\''.$order.'\')->select();';
|
||||
$parse .= '$__LIST__ = \\app\\model\link\\\Link::where(\''.$map.'\')->field(\''.$field.'\')->limit(\''.$limit.'\')->order(\''.$order.'\')->select();';
|
||||
$parse .= 'foreach ($__LIST__ as $key => $'.$tag['name'].') {';
|
||||
$parse .= '?>';
|
||||
$parse .= $content;
|
||||
|
||||
Reference in New Issue
Block a user