From 177bdb9fceded757c722f1a48c35d3c1089c729a Mon Sep 17 00:00:00 2001 From: wangmingchuan Date: Wed, 21 Feb 2024 13:01:46 +0800 Subject: [PATCH] 111 --- .idea/workspace.xml | 14 ++------------ app/api/controller/v1/LoginController.php | 3 +-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a0de562..9389652 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,18 +2,8 @@ - - - + - - - - - - - - diff --git a/app/api/controller/v1/LoginController.php b/app/api/controller/v1/LoginController.php index 400ed7f..8103bcb 100644 --- a/app/api/controller/v1/LoginController.php +++ b/app/api/controller/v1/LoginController.php @@ -311,7 +311,7 @@ class LoginController extends AuthController validate(RegisterValidates::class)->scene('TeacherRegister')->check( ['account' => $account, 'password' => $password, 'code' => $code, 'teacher_name' => $teacher_name] ); - + // $SchoolServices = app()->make(SchoolServices::class); // $schoolData = $SchoolServices->selectSchoolCodeData($code); // @@ -412,7 +412,6 @@ class LoginController extends AuthController $verifyCode = substr($verifyCode, 0, 6); if ($verifyCode != $captcha) return app('json')->fail(410010); - //校验学生 $c = User::where([ 'is_del' => 0,