diff --git a/src/config/getData.js b/src/config/getData.js index cd610ea..5633cd1 100644 --- a/src/config/getData.js +++ b/src/config/getData.js @@ -54,7 +54,7 @@ export const callTask = (scode) => post('api/pda/callTask', { // 设备管理 export const queryPoints = () => post('api/pda/queryPoints', {}) // 更新设备 -export const operation = (code, type) => post('api/pad/operation', { +export const operation = (code, type) => post('api/pda/operation', { point_code: code, type: type })