Files
SRCMS/Application/Home/Controller/IndexController.class.php
martinzhou2015 7b3e979fd4 Update
2015-10-06
2015-10-06 20:25:13 +08:00

24 lines
459 B
PHP

<?php
/**
* @author Zhou Yuyang <1009465756@qq.com> 2015-07-27
* @copyright ©2105-2018 SRCMS
* @homepage http://www.src.pw
* @version 1.0
*/
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller{
public function index(){
$model = M('page')->limit(5)->select();
$hall = M('hall')->limit(6)->select();
$this->assign('model',$model);
$this->assign('hall',$hall);
$this->display();
}
}