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}/BathroomMaterial/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomMaterial/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomMaterial/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomMaterial/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomMaterialList: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/list`, method:METHOD.POST }, // 材料列表
	BathroomMaterialDetail: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/detail`, method:METHOD.POST }, // 材料详情
	BathroomMaterialCreate: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/create`, method:METHOD.POST }, // 创建材料
	BathroomMaterialUpdate: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/update`, method:METHOD.POST }, // 更新材料
	BathroomMaterialDelete: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/detele`, method:METHOD.POST }, // 删除材料
	BathroomMaterialBatchDelete: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/batchDelete`, method:METHOD.POST }, // 批量删除材料
	BathroomMaterialBatchUpdate: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/batchUpdate`, method:METHOD.POST }, // 批量更新材料
	BathroomMaterialBatchCreate: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/batchCreate`, method:METHOD.POST }, // 批量创建材料
	BathroomMaterialExportExcel: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/export/excel`, method:METHOD.POST }, // 导出材料数据到EXCEL
	BathroomMaterialImportExcel: {url:`${BASE_URL}/BathroomMaterial/v1/bathroom/material/import/excel`, method:METHOD.POST }, // 批量导入EXCEL材料数据
}
