58 lines
1.2 KiB
PHP
58 lines
1.2 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
|
|
// +----------------------------------------------------------------------
|
|
namespace app\controller\front;
|
|
|
|
use \app\model\Category;
|
|
use \app\model\Model;
|
|
use \app\model\Content as ContentModel;
|
|
|
|
class Content extends Base {
|
|
|
|
/**
|
|
* @title 内容频道页
|
|
* @return [type] [description]
|
|
*/
|
|
public function index() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 内容列表
|
|
* @return [type] [description]
|
|
*/
|
|
public function lists() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 内容专题
|
|
* @return [type] [description]
|
|
*/
|
|
public function topic() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 内容搜索
|
|
* @return [type] [description]
|
|
*/
|
|
public function search() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 内容详情
|
|
* @return [type] [description]
|
|
*/
|
|
public function detail() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
}
|