diff --git a/application/index/controller/Content.php b/application/index/controller/Content.php index 196da0c0..97f7fd55 100644 --- a/application/index/controller/Content.php +++ b/application/index/controller/Content.php @@ -169,7 +169,7 @@ class Content extends Fornt { } else { $this->modelInfo = $model_name ? $name_list[$model_name] : $id_list[$model_id]; if ($this->modelInfo['extend'] > 1) { - $this->model = model($this->modelInfo['name']); + $this->model = model('Content')->extend($this->modelInfo['name']); } else { $this->model = model('Document')->extend($this->modelInfo['name']); } diff --git a/application/index/view/content/page/detail.html b/application/index/view/content/page/detail.html new file mode 100644 index 00000000..d448a6ce --- /dev/null +++ b/application/index/view/content/page/detail.html @@ -0,0 +1 @@ +的点点滴滴 \ No newline at end of file