菜单添加优化

This commit is contained in:
evoxwht 2023-05-30 14:59:37 +08:00
parent ef0ef85a09
commit 4a50df36d4

View File

@ -111,7 +111,7 @@ class SystemMenus extends AuthController
['is_show', 0],
['is_show_path', 0],
]);
$data['is_show_path'] = $data['is_show'];
if (!$data['menu_name'])
return app('json')->fail(400198);
$data['path'] = implode('/', $data['path']);