zhouwx
2024-12-04 80c8993820fc3f958397bebe9dbd72be6a449c55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import request from '/@/utils/request';
 
export function weatherDataApi() {
    return {
 
        //气象监测数据-折线图
        getWeatherLineChart: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/gasMonitorData/gasAtmosphere/lineChart`,
                method: 'post',
                data: data
            });
        },
 
        //气象监测数据-分页
        getWeatherLinePage: (data: object) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/gasMonitorData/gasAtmosphere/page`,
                method: 'post',
                data: data
            });
        },
 
    };
}