插件,视图渲染bug

This commit is contained in:
2017-08-28 09:59:24 +08:00
parent 9deab68359
commit f963c2a373
3 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ class Sitestat extends Addons{
$info['category'] = db('Category')->count();
$info['model'] = db('Model')->count();
$this->assign('info',$info);
$this->template('index/info');
echo $this->fetch('index/info');
}
}
}