#
luxiaotao1123
2024-10-19 a8e98d400e784df056e5ffb3228d859d6fef6b0f
zy-acs-flow/src/map/http.js
@@ -181,6 +181,24 @@
    })
}
export const getRouteList = async (zoneId, callback) => {
    await request.post('/map/route/list', {
        zoneId: zoneId,
    }, {
        headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
    }).then((res) => {
        const { code, msg, data } = res.data;
        if (code === 200) {
            callback(data)
        } else {
            notify.error(msg);
        }
    }).catch((error) => {
        notify.error(error.message);
        console.error(error.message);
    })
}
export const handleControlAgv = async (param, callback) => {
    await request.post('/handler/control/agv', param, {