后台管理页面仪表板优化
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user