改进 用户切换逻辑

This commit is contained in:
iVampireSP.com 2022-11-18 18:07:53 +08:00
parent 9c99a97462
commit bd885d182d
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,7 @@
@section('content')
<h3>{{ $user->name }}</h3>
<a href="{{ route('admin.users.show', $user) }}">切换到 {{ $user->name }}</a>
<p>余额: {{ $user->balance }} , {{ $drops }} Drops</p>
@ -13,6 +14,8 @@
<p>邮箱: {{ $user->email }}</p>
{{-- hosts --}}
<h3>主机列表</h3>
<table class="table table-hover">
@ -108,7 +111,7 @@
{{ $balances->links() }}
{{-- transactions_page--}}
{{-- transactions_page--}}

View File

@ -19,7 +19,7 @@
@foreach ($users as $user)
<tr>
<td>
<a href="{{ route('admin.users.show', $user) }}">
<a href="{{ route('admin.users.edit', $user) }}">
{{ $user->name }}
</a>
</td>