Explorar el Código

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

Signed-off-by: phantom <563789445@qq.com>
phantom hace 2 años
padre
commit
1197d9dc23
Se han modificado 1 ficheros con 1 adiciones y 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']
                 ];
             }
         }