Przeglądaj źródła

fix: 修正同步路由函数中删除不存在路由时索引不存在错误

Signed-off-by: phantom <563789445@qq.com>
phantom 2 lat temu
rodzic
commit
1197d9dc23

+ 1 - 1
crmeb/app/services/system/SystemRouteServices.php

@@ -295,7 +295,7 @@ class SystemRouteServices extends BaseServices
                 $delete[] = $item['id'];
                 $delete[] = $item['id'];
                 $deleteData[] = [
                 $deleteData[] = [
                     'path' => $item['path'],
                     'path' => $item['path'],
-                    'methods' => $item['method']
+                    'method' => $item['method']
                 ];
                 ];
             }
             }
         }
         }