#
vincentlu
2025-12-15 8b093ec56bd4e5e721bf48ca497efc819691b2bc
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 [];
}