From c9ee8e10b7f91727987b9cb498b417929b8bed17 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 26 Jun 2023 09:57:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=94=BE=E6=A1=B6=E7=9B=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/getData2.js b/src/config/getData2.js index f23bc10..75c24a1 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -1,4 +1,4 @@ -import {post} from '@config/http.js' +import {post, post2} from '@config/http.js' // 手持登录 export const loginApi = (user, password) => post('api/pda/handlogin', { @@ -77,7 +77,7 @@ export const sendMaterialConfirm = (sid, scode, spcode, nid, ncode, npcode) => p * 取放桶盖 */ // 1.1查询所有区域信息 -export const handArea = () => post('api/hand/area', {}) +export const handArea = () => post2('api/hand/area', {}) // export const handArea = () => { // let res = { // code: '1', @@ -90,7 +90,7 @@ export const handArea = () => post('api/hand/area', {}) // return res // } // 1.2根据区域查询点位 -export const handPoint = (reg) => post('api/hand/point', { +export const handPoint = (reg) => post2('api/hand/point', { region: reg }) // export const handPoint = () => {