import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/demo-fumigation` + url, ...arg)

export const getList = (data) => {
	return request('/getPageList', data, 'get')
}

export const getById = (id) => {
	return request(`/getById/${id}`, {}, 'get')
}
