yn_img_tools_app/src/services/coordinatePhotos.js

47 lines
1.2 KiB
JavaScript

import { http } from '@/utils/http'
// 协调照片表单提交接口
export const addCoordinatePhotoApi = (data) => {
return http({
method: 'POST',
url: '/imgTool/coordinatePhoto/addCoordinatePhoto',
data,
header: {
'Content-Type': 'application/x-www-form-urlencoded',
},
})
}
// 协调照片数据列表
export const getCoordinatePhotoListApi = (data) => {
return http({
method: 'POST',
url: '/imgTool/coordinatePhoto/getCoordinatePhotoList',
data,
header: {
'Content-Type': 'application/x-www-form-urlencoded',
},
})
}
// 协调照片表单获取详情
export const getCoordinatePhotoDetailsByIdApi = (data) => {
return http({
method: 'POST',
url: '/imgTool/coordinatePhoto/getCoordinatePhotoById',
data,
header: {
'Content-Type': 'application/x-www-form-urlencoded',
},
})
}
// 协调照片表单修改
export const editCoordinatePhotoApi = (data) => {
return http({
method: 'POST',
url: '/imgTool/coordinatePhoto/updateCoordinatePhoto',
data,
header: {
'Content-Type': 'application/x-www-form-urlencoded',
},
})
}