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); }) }