完成前置管理页面 迁移
This commit is contained in:
26
src/api/Business/index.ts
Normal file
26
src/api/Business/index.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import createAxios from '@/utils/request'
|
||||
|
||||
// 新增菜单接口
|
||||
export function addNode(data: any) {
|
||||
return createAxios({
|
||||
url: '/device-boot/node/addNode',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//修改前置机
|
||||
export function updateNode(data: any) {
|
||||
return createAxios({
|
||||
url: '/device-boot/node/updateNode',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
//删除前置机
|
||||
export function delNode(data: any) {
|
||||
return createAxios({
|
||||
url: '/device-boot/node/delNode',
|
||||
method: 'post',
|
||||
params: { id: data }
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user