#
luxiaotao1123
2024-05-14 22755cb5e41c4b299f0875cbb163daec88675eec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import request from '../../utils/request';
 
export async function getAgvCharts(_params) {
    const res = await request.get('/digital/charts/agvcharts', _params);
    if (res.data.code === 200) {
        return res.data.data;
    }
    return Promise.reject(new Error(res.data.msg));
}
 
export async function getLocCharts(_params) {
    const res = await request.get('/digital/charts/loccharts', _params);
    if (res.data.code === 200) {
        return res.data.data;
    }
    return Promise.reject(new Error(res.data.msg));
}