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}/BathroomPackaging/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomPackaging/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomPackaging/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomPackaging/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomPackagingList: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/list`, method:METHOD.POST }, // 包装材料列表
	BathroomPackagingDetail: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/detail`, method:METHOD.POST }, // 包装材料详情
	BathroomPackagingCreate: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/create`, method:METHOD.POST }, // 创建包装材料
	BathroomPackagingUpdate: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/update`, method:METHOD.POST }, // 更新包装材料
	BathroomPackagingDelete: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/detele`, method:METHOD.POST }, // 删除包装材料
	BathroomPackagingBatchDelete: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/batchDelete`, method:METHOD.POST }, // 批量删除包装材料
	BathroomPackagingBatchUpdate: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/batchUpdate`, method:METHOD.POST }, // 批量更新包装材料
	BathroomPackagingBatchCreate: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/batchCreate`, method:METHOD.POST }, // 批量创建包装材料
	BathroomPackagingExportExcel: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/export/excel`, method:METHOD.POST }, // 导出包装材料数据到EXCEL
	BathroomPackagingImportExcel: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/import/excel`, method:METHOD.POST }, // 批量导入EXCEL包装材料数据
	BathroomPackagingOpen: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/open`, method:METHOD.POST }, // 打开包装材料
	BathroomPackagingClose: {url:`${BASE_URL}/BathroomPackaging/v1/bathroom/packaging/close`, method:METHOD.POST }, // 关闭包装材料
}
