import { post, get } from './http' import { url } from '@/http/config' //获取皮肤 export const getTheme = () => get(`./static/offline/JSON/theme.json`) //首页热搜及卡片 export const getIndexList = () => get(`${url().sourceUrl}/JSON/index.json`) export const getActivityList = () => get(`${url().sourceUrl}/JSON/actvities.json`) //获取会员权益 export const getMemberBenefits = () => get(`${url().sourceUrl}/JSON/member.json`) //获取停车场数据 export const getParkingList = () => get(`${url().sourceUrl}/JSON/parking.json`) //获取 影院信息 export const getCinemaInfo = () => get(`${url().sourceUrl}/JSON/getCinemaInfo.json`) //获取商场介绍 export const getMallInfoList = () => get(`${url().sourceUrl}/JSON/mall.json`) //获取跳转时间 export const getBackTime = () => get(`${url().sourceUrl}/JSON/getBackTime.json`) //获取地图导览数据 export const getGuideList = () => get(`${url().sourceUrl}/JSON/getMapInfo.json`) //获取配置项 export const getConfig = () => get('./static/offline/JSON/config.json') //获取当前所处楼层 export const getCurrentFloor = () => get(`./static/offline/JSON/getDevCoordinateByIP.json`) //获取地图数据 export const getMap = () => get(`./static/offline/JSON/getMap.json`) //手写地址 export const getHandWriting = params => post(url().handWriteUrl, params) //数据统计 export const getStatistics = params => (url().clickUploadUrl ? post(`${url().interfaceUrl}${url().clickUploadUrl}`, params) : void 0) export const getQMGoShopData = () => get(`./static/offline/JSON/getQMGoShopData.json`) export const getAD = () => get(`./static/offline/JSON/ad.json`) export const getMenuList = () => get(`./static/offline/JSON/menuList.json`) export const getFoodIIndustryList = () => get(`./static/offline/JSON/foodIIndustryList.json`)