From db9a9327e59abc3de1bcc716687ee5f2dfb6a367 Mon Sep 17 00:00:00 2001 From: yanwenwu Date: Sat, 8 Feb 2020 18:30:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/login/controller/Index.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/catch/login/controller/Index.php b/catch/login/controller/Index.php index 50a6b23..52a7e5f 100644 --- a/catch/login/controller/Index.php +++ b/catch/login/controller/Index.php @@ -6,10 +6,7 @@ use catchAdmin\user\model\Users; use catcher\base\CatchController; use catcher\CatchAuth; use catcher\CatchResponse; -use catcher\CatchUpload; use catcher\exceptions\LoginFailedException; -use jaguarjack\filesystem\cloud\adapters\QiniuAdapter; -use think\facade\Filesystem; class Index extends CatchController { @@ -21,9 +18,8 @@ class Index extends CatchController * @param CatchAuth $auth * @return bool|string */ - public function login(LoginRequest $request, CatchAuth $auth, CatchUpload $upload) + public function login(LoginRequest $request, CatchAuth $auth) { - // dd(Filesystem::disk('qcloud')->putFile('ok', $file)); $params = $request->param(); $token = $auth->attempt($params);