/**
 * 展馆预约记录-列表
 */

import http from '@/utils/http'

// export const A1_APIgetList = (data: any): any => {
//   return async (dispatch: AppDispatch) => {
//     const res = await http.post('cms/applyExhibition/pageList', data)
//     if (res.code === 0) {
//       const arr: A1tableType[] = res.data.records
//       arr.forEach(v => {
//         v.cityStr = v.province + '-' + v.city
//       })

//       const obj = {
//         list: arr,
//         total: res.data.total
//       }
//       dispatch({ type: 'A1/getList', payload: obj })
//     }
//   }
// }

/**
 * 获取全部访问量
 */
export const A1_APIgetNumList = () => {
  return http.get('visit/getList')
}
