From a957c1c914f6890c8a6a8c477495809b065fcbcf Mon Sep 17 00:00:00 2001 From: vincentlu <t1341870251@gmail.com> Date: 星期五, 18 四月 2025 16:59:35 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/http.js | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js index 88ab8dc..fe7bd49 100644 --- a/zy-acs-flow/src/map/http.js +++ b/zy-acs-flow/src/map/http.js @@ -309,4 +309,25 @@ console.error(error.message); } return false; +} + +export const handleRePositionAll = async (param) => { + try { + const res = await request.post('/handler/rePositionAllAgv', param, { + headers: { + 'appKey': HANDLE_APP_KEY + } + }); + const { code, msg, data } = res.data; + if (code === 200) { + notify.success(msg); + return true; + } else { + notify.error(msg); + } + } catch (error) { + notify.error(error.message); + console.error(error.message); + } + return false; } \ No newline at end of file -- Gitblit v1.9.1