thirdpayment
ljl 10 months ago
parent 3e2d7560b9
commit da9c440406

@ -57,6 +57,7 @@ class AccountController extends AbstractController
public function register(RequestInterface $request) public function register(RequestInterface $request)
{ {
throw new BusinessException('暂停使用');
$username = $request->input('username'); $username = $request->input('username');
$password = $request->input('password'); $password = $request->input('password');
if (strlen($username) < 6 || strlen($username) > 20) { if (strlen($username) < 6 || strlen($username) > 20) {
@ -79,6 +80,7 @@ class AccountController extends AbstractController
public function login(RequestInterface $request) public function login(RequestInterface $request)
{ {
throw new BusinessException('暂停使用');
$username = $request->input('username'); $username = $request->input('username');
$password = $request->input('password'); $password = $request->input('password');
$account = Account::where('username', $username)->first(); $account = Account::where('username', $username)->first();

Loading…
Cancel
Save