import request from '@/utils/request';
import { MerchantIndexCountVO } from './types';

// 获取商户首页统计数据
export const getMerchantIndexCount = () => {
  return request<any, any>({
    url: '/system/merchant/index/count',
    method: 'get'
  });
};

// 获取商户首页订单列表动态图表数据来源
export const listMerchantOrder = () => {
  return request<any, any>({
    url: '/system/merchant/index/listOrder',
    method: 'get'
  });
};
