import request from '@/utils/request'

/** 看板主数据 GET /bigScreen/tradeSales/dashboard */
export function getTradeSalesDashboard(statYear, forceRefresh = false) {
  const params = { statYear }
  if (forceRefresh) {
    params.forceRefresh = true
  }
  return request({
    url: '/bigScreen/tradeSales/dashboard',
    method: 'get',
    params
  })
}
