import request from '@/utils/request' import { DEVICE_BOOT } from '@/utils/constantRequest' const MAPPING_PATH = DEVICE_BOOT + '/line' /** * 查询终端详细信息 */ export const getDeviceDetailData = (id: string) => { return request({ url: MAPPING_PATH + '/getDeviceDetailData?id=' + id, method: 'POST' }) } /** * 查询监测点详细信息 */ export const getLineDetailData = (id: string) => { return request({ url: MAPPING_PATH + '/getLineDetailData?id=' + id, method: 'POST' }) } export const getSubstationSelect = () => { return request({ url: 'device-boot/substation/getSubstationSelect', method: 'get' }) }