调整管理员删除
parent
bb81546b35
commit
87e45da1d1
|
|
@ -86,7 +86,7 @@ class AdminUserController extends Controller
|
|||
}
|
||||
try {
|
||||
DB::beginTransaction();
|
||||
$adminUser->crops()->sync([]);
|
||||
$adminUser->bases()->sync([]);
|
||||
$adminUser->roles()->sync([]);
|
||||
$adminUser->delete();
|
||||
DB::commit();
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
<?php
|
||||
return [
|
||||
'labels' => [
|
||||
'FriendLink' => 'FriendLink',
|
||||
'friend-link' => 'FriendLink',
|
||||
'FriendLink' => '友情链接',
|
||||
'friend-links' => '友情链接',
|
||||
],
|
||||
'fields' => [
|
||||
'name' => '名称',
|
||||
|
|
|
|||
Loading…
Reference in New Issue