接口
This commit is contained in:
@@ -11,20 +11,13 @@ export const setStation = (sn) => post('teaching/setStation?stationName=' + sn,
|
||||
export const stopMapping = () => post('teaching/stopMapping', {})
|
||||
export const getLocalMaps = () => post('teaching/getLocalMaps', {})
|
||||
export const oneClickDeployment = (map) => post('teaching/oneClickDeployment?mapName=' + map, {})
|
||||
// export const getLocalMaps = () => post('teaching/getLocalMaps', {})
|
||||
// export const synchronzieMap = (map) => post('teaching/synchronzieMap', {
|
||||
// mapName: map
|
||||
// })
|
||||
// export const restart = () => post('teaching/restart', {})
|
||||
// export const relocate = (x, y, angle) => post('teaching/relocate', {
|
||||
// x: x,
|
||||
// y: x,
|
||||
// angle: angle
|
||||
// })
|
||||
|
||||
// 操作
|
||||
export const queryStation = () => post('api/operate/queryStation', {})
|
||||
export const queryTaskChain = () => post('api/operate/queryTaskChain', {})
|
||||
export const queryTaskChainDtl = (id) => post('api/operate/queryTaskChainDtl', {
|
||||
chain_id: id
|
||||
})
|
||||
export const sendTask = (data) => post('api/operate/sendTask', {
|
||||
data: data
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user