zy-acs-flow/src/map/http.js
@@ -166,3 +166,24 @@ console.error(error.message); }) } export const handleRestoreAgvAll = async (param, callback) => { await request.post('/handler/restore/agv', param, { headers: { 'appKey': HANDLE_APP_KEY } }).then((res) => { const { code, msg, data } = res.data; if (code === 200) { notify.success(msg); if (callback) { callback(data) } } else { notify.error(msg); } }).catch((error) => { notify.error(error.message); console.error(error.message); }) }