接口交互
This commit is contained in:
20
src/config/mork.js
Normal file
20
src/config/mork.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export const queryStation = () => {
|
||||
let res = {
|
||||
message: 'ok',
|
||||
data: [{station_code: 'B1', station_name: 'B1', x: '10', Y: '10', angle: '90'}, {station_code: 'B2', station_name: 'B2', x: '10', Y: '10', angle: '90'}, {station_code: 'B3', station_name: 'B3', x: '10', Y: '10', angle: '90'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const queryTaskChain = () => {
|
||||
let res = {
|
||||
message: 'ok',
|
||||
data: [{chain_id: '1', chain_point: 'A-B-C', chain_name: 'A-B-C', action_type: 'Ascend-Descend-Move'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const updateStation = () => {
|
||||
let res = {
|
||||
message: 'ok'
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user