Преглед изворни кода

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

Signed-off-by: phantom <563789445@qq.com>
phantom пре 2 година
родитељ
комит
1197d9dc23
1 измењених фајлова са 1 додато и 1 уклоњено
  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']
                 ];
             }
         }