import request from '@/utils/request';

// 获取商家统计数据
export function getMerchantStatistics() {
  return request.get('/api/merchant/statistics/overview');
}

// 获取收入趋势
export function getIncomeTrend(params: { type: 'day' | 'week' | 'month' }) {
  return request.get('/api/merchant/statistics/income-trend', { params });
}
