style: 修改路由文件

This commit is contained in:
2025-01-13 09:37:31 +08:00
parent 0147f80dc7
commit 92b7c11b88

View File

@@ -21,7 +21,7 @@ Route::group('v1', function () {
return \think\Response::create('您的操作过于频繁, 请在 ' . $wait_seconds . ' 秒后再试。')->code(429); return \think\Response::create('您的操作过于频繁, 请在 ' . $wait_seconds . ' 秒后再试。')->code(429);
}, },
]); ]);
// 登录接口 // 登录接口
Route::post('login', 'Login/index'); Route::post('login', 'Login/index');
}); });
@@ -42,7 +42,7 @@ Route::group('v1', function () {
// 文章删除 // 文章删除
Route::delete('delete/:id', 'Article/delete'); Route::delete('delete/:id', 'Article/delete');
// 文章分类 // 文章分类
Route::group('category', function () { Route::group('category', function () {
// 分类列表 // 分类列表