功能模块构建
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
namespace app\controller\user;
|
||||
|
||||
class Index extends Base {
|
||||
|
||||
|
||||
/**
|
||||
* @title 用户中心首页
|
||||
* @title 用户首页
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function index() {
|
||||
@@ -19,34 +19,10 @@ class Index extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 用户登录
|
||||
* @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() {
|
||||
public function profile() {
|
||||
return $this->fetch();
|
||||
}
|
||||
|
||||
@@ -54,7 +30,15 @@ class Index extends Base {
|
||||
* @title 重置密码
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function resetpasswd() {
|
||||
public function repasswd() {
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 上传头像
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function avatar() {
|
||||
return $this->fetch();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user