压缩历史至 95081aff

This commit is contained in:
ryan
2026-06-08 20:34:27 +08:00
commit 8a782525de
435 changed files with 71146 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
/**
* Dashboard 服务模块
*
* @description
* 提供仪表板统计数据相关的服务,包括:
* - 每日收支统计
* - Top 客户统计
*
* @example
* ```typescript
* import { DashboardService } from '@/lib/services/dashboard';
*
* // 获取最近7天的收支统计
* const dailyStats = await DashboardService.getDailyStats(7);
*
* // 获取 Top 5 客户
* const topCustomers = await DashboardService.getTopCustomers(7, 5);
* ```
*/
export { DashboardService } from './dashboard.service';
export type {
DailyStatsItem,
DailyStatsResponse,
GetDailyStatsRequest,
TopCustomer,
TopCustomersResponse,
GetTopCustomersRequest,
} from './types';