From da9c4404062f2ff39a7ea7acd39758e047dfd912 Mon Sep 17 00:00:00 2001 From: ljl Date: Thu, 25 Jan 2024 10:34:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=B8=E6=80=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Controller/Payment/AccountController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Controller/Payment/AccountController.php b/app/Controller/Payment/AccountController.php index eb738e0..c8d58d2 100644 --- a/app/Controller/Payment/AccountController.php +++ b/app/Controller/Payment/AccountController.php @@ -57,6 +57,7 @@ class AccountController extends AbstractController public function register(RequestInterface $request) { + throw new BusinessException('暂停使用'); $username = $request->input('username'); $password = $request->input('password'); if (strlen($username) < 6 || strlen($username) > 20) { @@ -79,6 +80,7 @@ class AccountController extends AbstractController public function login(RequestInterface $request) { + throw new BusinessException('暂停使用'); $username = $request->input('username'); $password = $request->input('password'); $account = Account::where('username', $username)->first();