SRCMS(轻响应)企业应急响应中心开发框架模版
This commit is contained in:
martinzhou2015
2015-07-28 15:15:57 +08:00
parent 0da4a2951c
commit c1dc9cf28e
856 changed files with 242152 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<?php
namespace Admin\Controller;
use Admin\Controller;
class IndexController extends BaseController{
public function index(){
$page = M('page')->count();
$user = M('member')->count();
$post = M('post')->count();
$links = M('links')->count();
$this->assign('page',$page);
$this->assign('user',$user);
$this->assign('post',$post);
$this->assign('links',$links);
$this->display();
}
}