import axios from '@/libs/api.request'

// export const GetConfigAppFrontHome = () => {
//   return axios.request({
//     method: 'get',
//     url: '?r=AjaxApiMallConfig/GetConfigAppFrontHome'
//   })
// }
export const GetSiteData = () => {
  return axios.request({
    method: 'get',
    url: 'platform.php?s=Platform.Site.Index'
  })
}

export const UploadFile = (data) => {
  return axios.request({
    method: 'post',
    url: 'platform.php?s=Platform.File.Upload',
    data
  })
}
