63 lines
1.3 KiB
PHP
63 lines
1.3 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\user;
|
|
|
|
/**
|
|
* @title 用户中心
|
|
*/
|
|
class Index extends Base {
|
|
|
|
/**
|
|
* @title 用户首页
|
|
* @return [type] [description]
|
|
*/
|
|
public function index() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 用户登录
|
|
* @return [type] [description]
|
|
*/
|
|
public function login() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 用户退出
|
|
* @return [type] [description]
|
|
*/
|
|
public function logout() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 用户注册
|
|
* @return [type] [description]
|
|
*/
|
|
public function register() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 忘记密码
|
|
* @return [type] [description]
|
|
*/
|
|
public function forget() {
|
|
return $this->fetch();
|
|
}
|
|
|
|
/**
|
|
* @title 重置密码
|
|
* @return [type] [description]
|
|
*/
|
|
public function resetpasswd() {
|
|
return $this->fetch();
|
|
}
|
|
} |