mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-05-29 16:09:14 +08:00
modified 修改menu菜单字段
This commit is contained in:
parent
75a4a37bfc
commit
3cb72a2647
@ -30,7 +30,7 @@ class AdminLog {
|
||||
}
|
||||
|
||||
AdminUserAction::create([
|
||||
'action_name' => $menuInfo['name'],
|
||||
'action_name' => $menuInfo['title'],
|
||||
'uid' => $userInfo['id'],
|
||||
'nickname' => $userInfo['nickname'],
|
||||
'add_time' => time(),
|
||||
|
@ -143,7 +143,7 @@ class Tools {
|
||||
return $tree;
|
||||
}
|
||||
|
||||
public static function formatTree($list, $lv = 0, $title = 'name'){
|
||||
public static function formatTree($list, $lv = 0, $title = 'title'){
|
||||
$formatTree = array();
|
||||
foreach($list as $key => $val){
|
||||
$title_prefix = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user