import request from '@/utils/request'

/**
 * 获取首页统计数据
 */
export function getDashboardStats() {
  return request({
    url: '/system/statistics/dashboard',
    method: 'get'
  })
}

/**
 * 获取访问趋势数据
 */
export function getVisitsTrend() {
  return request({
    url: '/system/statistics/visits/trend',
    method: 'get'
  })
}
