This commit is contained in:
2017-06-26 15:05:11 +08:00
parent 610f78c809
commit 9e6fba335d
8 changed files with 286 additions and 229 deletions

View File

@@ -22,7 +22,7 @@ class Content extends Admin {
return $this->error("无此模型!");
} else {
$this->modelInfo = $list[$model_id];
$this->model = new \app\common\model\Content($this->modelInfo['name']);
$this->model = M($this->modelInfo['name']);
}
$this->assign('model_id', $model_id);