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

Signed-off-by: phantom <563789445@qq.com>
This commit is contained in:
phantom 2023-07-03 04:44:15 +00:00 committed by Gitee
parent af17a94b43
commit 1197d9dc23
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']
];
}
}