文本优化,部分接口地址修正

This commit is contained in:
CTOS
2026-04-29 13:32:49 +08:00
parent af7b65f6dd
commit 671a83b493
8 changed files with 29 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询堆垛机监控列表
export function listDdj(query) {
return request({
url: '/device/ddj/list',
url: '/device/stacker/list',
method: 'get',
params: query
})
@@ -12,7 +12,7 @@ export function listDdj(query) {
// 查询堆垛机监控详细
export function getDdj(id) {
return request({
url: '/device/ddj/' + id,
url: '/device/stacker/' + id,
method: 'get'
})
}
@@ -20,7 +20,7 @@ export function getDdj(id) {
// 新增堆垛机监控
export function addDdj(data) {
return request({
url: '/device/ddj',
url: '/device/stacker',
method: 'post',
data: data
})
@@ -29,7 +29,7 @@ export function addDdj(data) {
// 修改堆垛机监控
export function updateDdj(data) {
return request({
url: '/device/ddj',
url: '/device/stacker',
method: 'put',
data: data
})
@@ -38,7 +38,7 @@ export function updateDdj(data) {
// 删除堆垛机监控
export function delDdj(id) {
return request({
url: '/device/ddj/' + id,
url: '/device/stacker/' + id,
method: 'delete'
})
}