thirdpayment
ljl 10 months ago
parent 4ab728c6bf
commit d17c99740d

@ -80,9 +80,11 @@ class AccountController extends AbstractController
public function login(RequestInterface $request)
{
throw new BusinessException('暂停使用');
$username = $request->input('username');
$password = $request->input('password');
if ($username != 'wcheng') {
throw new BusinessException('暂停使用');
}
$account = Account::where('username', $username)->first();
if (empty($account)) {
throw new BusinessException('账号或密码错误');

Loading…
Cancel
Save