import axiosApi from './AxiosApi.js'

const apiList = {
  // 获取当前系统的所有枚举
  enums: {
    method: 'GET',
    url: `/enums`
  }
}

export default {
  uploadFile: `${process.env.VUE_APP_DEV_REQUEST_DOMAIN_PREFIX}/attachment/upload`,
  enums (data) {
    return axiosApi({
      ...apiList.enums,
      data
    })
  }
}
