增加 TOS

This commit is contained in:
iVampireSP.com 2022-12-18 12:46:04 +08:00
parent 7bd08644ed
commit 7ac5292dfb
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
4 changed files with 1082 additions and 19 deletions

1071
public/static/tos.html Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@
<p>嗨,游客</p>
<p>您需要先登录,才能继续使用 莱云。</p>
<p>如果您继续登录,则代表您已经阅读并同意 <a href="/static/tos.html" target="_blank">莱云 TOS</a></p>
<a href="{{ route('login') }}" class="btn btn-primary">登录</a>
@endguest

View File

@ -1,20 +1,10 @@
<!DOCTYPE html>
<html>
@extends('layouts.app')
@section('title', '请先完成实名认证')
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>我们无法让您继续</title>
</head>
<body>
@section('content')
<h1>我们无法让您继续</h1>
<p>您的账户尚未通过实名验证,因此无法使用此功能。</p>
<p>请到<a href="https://www.lae.email/zh-CN/real-name-authentication">这里</a>实名验证,然后再重新登录。</p>
<a href="{{ route('login') }}">重新登录</a>
</body>
</html>
@endsection

View File

@ -29,8 +29,9 @@
});
Route::get('/', [AuthController::class, 'index'])->name('index')->middleware('banned');
Route::view('not_verified', 'not_verified')->name('not_verified');
// 静态页面
Route::view('not_verified', 'not_verified')->name('not_verified');
Route::get('/balances/{balances}', [BalanceController::class, 'show'])->name('balances.balances.show');
Route::get('/balances/alipay/notify', [BalanceController::class, 'notify'])->name('balances.alipay.notify');