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}/BathroomPaint/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomPaint/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomPaint/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomPaint/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomPaintList: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/list`, method:METHOD.POST }, // 油漆列表
	BathroomPaintDetail: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/detail`, method:METHOD.POST }, // 油漆详情
	BathroomPaintCreate: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/create`, method:METHOD.POST }, // 创建油漆
	BathroomPaintUpdate: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/update`, method:METHOD.POST }, // 更新油漆
	BathroomPaintDelete: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/detele`, method:METHOD.POST }, // 删除油漆
	BathroomPaintBatchDelete: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/batchDelete`, method:METHOD.POST }, // 批量删除油漆
	BathroomPaintBatchUpdate: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/batchUpdate`, method:METHOD.POST }, // 批量更新油漆
	BathroomPaintBatchCreate: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/batchCreate`, method:METHOD.POST }, // 批量创建油漆
	BathroomPaintExportExcel: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/export/excel`, method:METHOD.POST }, // 导出油漆数据到EXCEL
	BathroomPaintImportExcel: {url:`${BASE_URL}/BathroomPaint/v1/bathroom/paint/import/excel`, method:METHOD.POST }, // 批量导入EXCEL油漆数据
}
