cqpCow 1 年之前
父节点
当前提交
04049290e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/EmployeeService.php

+ 1 - 1
app/Service/EmployeeService.php

@@ -1135,7 +1135,7 @@ class EmployeeService extends Service
             $object = [];
             foreach ($menu as $value){
                 $object[] = [
-                    'id' => $value['menu_id'],
+                    'id' => $value['id'],
 //                    'type' => 0,//所有权限
                     'uri' => $value['uri'],
                     'button' => $button_map[$value['id']] ?? [],