kttGzw.js
660 Bytes
/*
* @Description :构筑物api文件
* @Autor : miaofang
* @LastEditTime : 2023-05-17 16:22:14
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class kttGzw {
//构筑物
async getKttGzwById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGzw/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改构筑物
async updateKttGzw (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KttGzw/edit',
method: 'post',
data
})
}
}
export default new kttGzw()