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,