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 = () => {