diff --git a/src/api/system/index.js b/src/api/system/index.js new file mode 100644 index 0000000..6290c61 --- /dev/null +++ b/src/api/system/index.js @@ -0,0 +1,20 @@ +import request from '@/utils/request' + +// 查询首页基本信息 + +export function informationStatistics(query) { + return request({ + url: '/system/homeStatistics/informationStatistics', + method: 'get', + params: query + }) +} +// 查询首页今日概述 +export function summaryToday(query) { + return request({ + url: '/system/homeStatistics/summaryToday', + method: 'get', + params: query + }) + } + diff --git a/src/views/index.vue b/src/views/index.vue index f5ff6d3..a0321bf 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,5 +1,49 @@