const request = require('@/utils/request') // 导入请求方法
const METHOD = request.METHOD
const BASE_URL = process.env.VUE_APP_API_BASE_URL // 获取环境变量VUE_APP_API_BASE_URL

module.exports = {
    BASE_URL,
	Settings: {url:`${BASE_URL}/BathroomFittings/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomFittings/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomFittings/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomFittings/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomFittingsList: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/list`, method:METHOD.POST }, // 部件列表
	BathroomFittingsDetail: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/detail`, method:METHOD.POST }, // 部件详情
	BathroomFittingsCreate: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/create`, method:METHOD.POST }, // 创建部件
	BathroomFittingsUpdate: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/update`, method:METHOD.POST }, // 更新部件
	BathroomFittingsDelete: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/detele`, method:METHOD.POST }, // 删除部件
	BathroomFittingsBatchDelete: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/batchDelete`, method:METHOD.POST }, // 批量删除部件
	BathroomFittingsBatchUpdate: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/batchUpdate`, method:METHOD.POST }, // 批量更新部件
	BathroomFittingsBatchCreate: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/batchCreate`, method:METHOD.POST }, // 批量创建部件
	BathroomFittingsExportExcel: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/export/excel`, method:METHOD.POST }, // 导出部件数据到EXCEL
	BathroomFittingsImportExcel: {url:`${BASE_URL}/BathroomFittings/v1/bathroom/fittings/import/excel`, method:METHOD.POST }, // 批量导入EXCEL部件数据
}
