From 1a7f4b58292627d898b7f16b1984ae2fdd13c055 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 6 Feb 2023 09:56:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/getData1.js b/src/config/getData1.js index 01fcc93..c3a8059 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -3,26 +3,26 @@ import {post2} from '@config/http.js' // 指令管理 // 1.1 查询未完成指令 -export const queryInstraction = (keyword, scode, ncode) => post2('api/axg/hand/insts', { +export const queryInstraction = (keyword, scode, ncode) => post2('api/hand/insts', { keyword: keyword, start_devicecode: scode, next_devicecode: ncode }) // 1.2 指令操作 -export const instOperation = (uuid, type) => post2('api/axg/hand/inst', { +export const instOperation = (uuid, type) => post2('api/hand/inst', { inst_uuid: uuid, type: type }) // 任务管理 // 1.1 查询未完成指令 -export const queryTask = (keyword, scode, ncode) => post2('api/axg/hand/tasks', { +export const queryTask = (keyword, scode, ncode) => post2('api/hand/tasks', { keyword: keyword, start_devicecode: scode, next_devicecode: ncode }) // 1.2 指令操作 -export const taskOperation = (uuid, type) => post2('api/axg/hand/taskoperation', { +export const taskOperation = (uuid, type) => post2('api/hand/taskoperation', { inst_uuid: uuid, type: type })