first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
<?php
namespace app\controller;
use diditao\common\base\BaseController;
use diditao\common\response\facade\AppResponse;
class Login extends BaseController
{
/**
* @desc 用户登录
* @user Liu qian
* @time 2020/5/8 22:13
* @return mixed
* @throws \diditao\common\exception\AppError
*/
public function index()
{
$this->validate();
return AppResponse::handle();
}
/**
* @desc 用户注册
* @user Liu qian
* @time 2020/5/8 22:13
* @return mixed
* @throws \diditao\common\exception\AppError
*/
public function reg()
{
$this->validate();
return AppResponse::handle();
}
/**
* @desc 重置密码
* @user Liu qian
* @time 2020/5/8 22:13
* @return mixed
* @throws \diditao\common\exception\AppError
*/
public function forget()
{
$this->validate();
return AppResponse::handle();
}
/**
* @desc 退出登录
* @user Liu qian
* @time 2020/5/9 1:00
* @return mixed
*/
public function logout()
{
return AppResponse::handle();
}
}