import request from '/@/utils/request';


export function Add(data:object){
	return request({
		url: '/comm/service/device/info/add',
		method: 'post',
		data
	})
}
export function update(params: string) {
	return request({
		url: '/comm/service/device/info/update',
		method: 'post',
		data: params,
	});
}
export function deleteId(params: string) {
	return request({
		url: '/comm/service/device/info/delete',
		method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
		data: params,
	});
}
export function detail2(params: string) {
	return request({
		url: '/comm/service/device/info/detail2',
		method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
		data: params,
	});
}
export function list(params: string) {
	return request({
		url: '/comm/service/device/info/list',
		method: 'post',
        headers: {
            'Content-Type': 'application/x-www-form-urlencoded'
        },
		params,
	});
}
