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}/BathroomOutsourcing/v1/settings/list`, method:METHOD.POST }, // 用户配置
	SettingsUpdate: {url:`${BASE_URL}/BathroomOutsourcing/v1/settings/update`, method:METHOD.POST }, // 用户配置修改
	LogList: {url:`${BASE_URL}/BathroomOutsourcing/v1/log/list`, method:METHOD.POST }, // 操作日志列表
	LogDetail: {url:`${BASE_URL}/BathroomOutsourcing/v1/log/detail`, method:METHOD.POST }, // 操作日志详情
	BathroomOutsourcingList: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/list`, method:METHOD.POST }, // 外购产品列表
	BathroomOutsourcingDetail: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/detail`, method:METHOD.POST }, // 外购产品详情
	BathroomOutsourcingCreate: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/create`, method:METHOD.POST }, // 创建外购产品
	BathroomOutsourcingUpdate: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/update`, method:METHOD.POST }, // 更新外购产品
	BathroomOutsourcingDelete: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/detele`, method:METHOD.POST }, // 删除外购产品
	BathroomOutsourcingBatchDelete: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/batchDelete`, method:METHOD.POST }, // 批量删除外购产品
	BathroomOutsourcingBatchUpdate: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/batchUpdate`, method:METHOD.POST }, // 批量更新外购产品
	BathroomOutsourcingBatchCreate: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/batchCreate`, method:METHOD.POST }, // 批量创建外购产品
	BathroomOutsourcingExportExcel: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/export/excel`, method:METHOD.POST }, // 导出外购产品数据到EXCEL
	BathroomOutsourcingImportExcel: {url:`${BASE_URL}/BathroomOutsourcing/v1/bathroom/outsourcing/import/excel`, method:METHOD.POST }, // 批量导入EXCEL外购产品数据
}
