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();