feat: home 1

This commit is contained in:
alwayssuper
2025-02-27 10:39:50 +08:00
parent d6eb0cd850
commit 1b9a3dd4fe
2 changed files with 84 additions and 5 deletions

View File

@ -3,8 +3,8 @@ import request from '@/config/axios'
// IoT 数据统计 API
export const ProductCategoryApi = {
// 查询首页所需数据统计信息
getIotMainStats: async () => {
return await request.get({ url: `/iot/statistics/main`})
getIotMainStats: async (params: any) => {
return await request.get({ url: `/iot/statistics/main`, params })
}
}