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

Merge pull request !64 from phantom/N/A
This commit is contained in:
吴昊天 2023-07-03 08:11:18 +00:00 committed by Gitee
commit bb867f7517
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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