#
luxiaotao1123
2024-10-16 b5ea3e3d55760df55073f82eacb2dbcb7d3c448f
zy-acs-flow/src/map/http.js
@@ -107,3 +107,23 @@
        console.error(error.message);
    })
}
export const getLocGroup = async (row, bay, callback) => {
    await request.post('/map/shelf/group', {
        row: row,
        bay: bay
    }, {
        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);
    })
}