#
vincentlu
2025-12-15 4d97647ec29563c1cb0b0c01bafe9f8a70839977
zy-acs-flow/src/map/http.js
@@ -430,3 +430,18 @@
    }
    return null;
}
export const fetchAgvListAll = async () => {
    try {
        const res = await request.get('/agv/list');
        const { code, msg, data } = res.data;
        if (code === 200) {
            return data || [];
        }
        notify.error(msg);
    } catch (error) {
        notify.error(error.message);
        console.error(error.message);
    }
    return [];
}