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}/BathroomParts/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomParts/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomParts/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomParts/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomPartsList: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/list`, method:METHOD.POST }, // 配件列表
	BathroomPartsDetail: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/detail`, method:METHOD.POST }, // 配件详情
	BathroomPartsCreate: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/create`, method:METHOD.POST }, // 创建配件
	BathroomPartsUpdate: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/update`, method:METHOD.POST }, // 更新配件
	BathroomPartsDelete: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/detele`, method:METHOD.POST }, // 删除配件
	BathroomPartsBatchDelete: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/batchDelete`, method:METHOD.POST }, // 批量删除配件
	BathroomPartsBatchUpdate: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/batchUpdate`, method:METHOD.POST }, // 批量更新配件
	BathroomPartsBatchCreate: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/batchCreate`, method:METHOD.POST }, // 批量创建配件
	BathroomPartsExportExcel: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/export/excel`, method:METHOD.POST }, // 导出配件数据到EXCEL
	BathroomPartsImportExcel: {url:`${BASE_URL}/BathroomParts/v1/bathroom/parts/import/excel`, method:METHOD.POST }, // 批量导入EXCEL配件数据
}
