工艺微服务变更

yangwl
zhaoxiaolin 1 year ago
parent e70fd4b2c3
commit 875f4d77c8

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询工艺附件管理列表 // 查询工艺附件管理列表
export function listBaseFile(query) { export function listBaseFile(query) {
return request({ return request({
url: '/technology/pro/baseFile/list', url: '/technology/baseFile/list',
method: 'get', method: 'get',
params: query params: query
}); });
@ -12,7 +12,7 @@ export function listBaseFile(query) {
// 查询工艺附件管理详细 // 查询工艺附件管理详细
export function getBaseFile(fileId) { export function getBaseFile(fileId) {
return request({ return request({
url: '/technology/pro/baseFile/' + fileId, url: '/technology/baseFile/' + fileId,
method: 'get' method: 'get'
}); });
} }
@ -20,7 +20,7 @@ export function getBaseFile(fileId) {
// 新增工艺附件管理 // 新增工艺附件管理
export function addBaseFile(data) { export function addBaseFile(data) {
return request({ return request({
url: '/technology/pro/baseFile', url: '/technology/baseFile',
method: 'post', method: 'post',
data: data data: data
}); });
@ -29,7 +29,7 @@ export function addBaseFile(data) {
// 修改工艺附件管理 // 修改工艺附件管理
export function updateBaseFile(data) { export function updateBaseFile(data) {
return request({ return request({
url: '/technology/pro/baseFile', url: '/technology/baseFile',
method: 'put', method: 'put',
data: data data: data
}); });
@ -38,7 +38,7 @@ export function updateBaseFile(data) {
// 删除工艺附件管理 // 删除工艺附件管理
export function delBaseFile(fileId) { export function delBaseFile(fileId) {
return request({ return request({
url: '/technology/pro/baseFile/' + fileId, url: '/technology/baseFile/' + fileId,
method: 'delete' method: 'delete'
}); });
} }

Loading…
Cancel
Save