Merge branch 'hotfix/statistics' into develop

This commit is contained in:
2025-09-16 16:51:53 +08:00
3 changed files with 203 additions and 0 deletions
+9
View File
@@ -194,6 +194,15 @@ Route::group('/admin', function () {
Route::any('/follow', [app\crmAdmin\controller\CustomerController::class, 'follow']);
Route::any('/allocation', [app\crmAdmin\controller\CustomerController::class, 'allocation']);
});
// 统计
Route::group('/statistics', function () {
Route::any('/whole', [app\crmAdmin\controller\StatisticsController::class, 'whole']);
Route::any('/channel/count', [app\crmAdmin\controller\StatisticsController::class, 'channelCount']);
Route::any('/country/count', [app\crmAdmin\controller\StatisticsController::class, 'countryCount']);
Route::any('/track/count', [app\crmAdmin\controller\StatisticsController::class, 'trackCount']);
Route::any('/day/count', [app\crmAdmin\controller\StatisticsController::class, 'dayCount']);
Route::any('/customer/count', [app\crmAdmin\controller\StatisticsController::class, 'customerCount']);
});
});
// 车辆