后台管理页面仪表板优化

This commit is contained in:
xiaowang
2026-02-25 11:28:42 +08:00
parent ca0af7af8c
commit 057db9ee76
2 changed files with 67 additions and 40 deletions
+19
View File
@@ -64,11 +64,30 @@ export interface AdminLoginResponse {
userInfo: any
}
export interface HotProduct {
id: number
title: string
price: number
likeCount: number
collectCount: number
}
export interface RecentActivity {
id: number
type: string
title: string
description: string
time: string
color: string
}
export interface DashboardStats {
totalUsers: number
totalProducts: number
totalShops: number
todayOrders: number
hotProducts: HotProduct[]
recentActivities: RecentActivity[]
}
export const adminAuthApi = {