import axios from "@/assets/js/axios"; /** * 查询台站列表 */ export const getStation = () => { return axios({ method: "GET", url: "station/getStation" }) } /** * 台站下添加文件 */ export const addFileInStation = (params) => { return axios({ method: "GET", url: "stationInfo/addFileInStation", params }) } /** * 移除台站下文件(单个文件) * ?FilePath=1&stationName=1 */ export const delFileFromStation = (params) => { return axios({ method: "GET", url: "stationInfo/delFileFromStation", params }) } /** * 添加台站 */ export const addStation = (params) => { return axios({ method: "GET", url: "stationInfo/addStation", params }) } /** * 删除台站 * ?stationName1=null&stationName2=null&stationName3=null */ export const deleteStation = (params) => { return axios({ method: "GET", url: "stationInfo/deleteStation", params }) } /** * 编辑台站 */ export const updateStation = (params) => { return axios({ method: "GET", url: "stationInfo/updateStation", params }) } /** * 解析xml文件 * filePath */ export const getXmlValue = (params) => { return axios({ method: "GET", url: "fileInfo/getXmlValue", params }) }