接口记录表 wcs对外接口 绑定料架接口

This commit is contained in:
liuhanqing
2025-07-10 09:26:00 +08:00
parent 0baf2119e4
commit 8e3f72e0ae
28 changed files with 1934 additions and 76 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询接口记录列表
export function listLog(query) {
return request({
url: '/requestInterface/log/list',
method: 'get',
params: query
})
}
// 查询接口记录详细
export function getLog(requestId) {
return request({
url: '/requestInterface/log/' + requestId,
method: 'get'
})
}
// 新增接口记录
export function addLog(data) {
return request({
url: '/requestInterface/log',
method: 'post',
data: data
})
}
// 修改接口记录
export function updateLog(data) {
return request({
url: '/requestInterface/log',
method: 'put',
data: data
})
}
// 删除接口记录
export function delLog(requestId) {
return request({
url: '/requestInterface/log/' + requestId,
method: 'delete'
})
}