|
|
@@ -84,11 +84,7 @@ Route::prefix('openapi')->middleware(['admin.auth', 'admin.permission'])->group(
|
|
|
->name('admin.openapi.logs.chart_data');
|
|
|
});
|
|
|
|
|
|
- // 统计分析管理
|
|
|
- Route::resource('stats', StatController::class)->only(['index', 'show'])->names([
|
|
|
- 'index' => 'admin.openapi.stats.index',
|
|
|
- 'show' => 'admin.openapi.stats.show',
|
|
|
- ]);
|
|
|
+ // 统计分析管理 - 使用Resource注解自动注册,无需手动定义
|
|
|
|
|
|
// 统计分析扩展路由
|
|
|
Route::prefix('stats')->group(function () {
|