Explorar o código

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

Signed-off-by: phantom <563789445@qq.com>
phantom %!s(int64=2) %!d(string=hai) anos
pai
achega
1197d9dc23
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/app/services/system/SystemRouteServices.php

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

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