调整管理员删除

dev
vine_liutk 2022-11-02 14:53:53 +08:00
parent bb81546b35
commit 87e45da1d1
2 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ class AdminUserController extends Controller
}
try {
DB::beginTransaction();
$adminUser->crops()->sync([]);
$adminUser->bases()->sync([]);
$adminUser->roles()->sync([]);
$adminUser->delete();
DB::commit();

View File

@ -1,8 +1,8 @@
<?php
<?php
return [
'labels' => [
'FriendLink' => 'FriendLink',
'friend-link' => 'FriendLink',
'FriendLink' => '友情链接',
'friend-links' => '友情链接',
],
'fields' => [
'name' => '名称',