ktfZhYhydzb.js
723 Bytes
/*
* @Description :用海,用岛坐标相关api
* @Autor : miaofang
* @LastEditTime : 2023-05-17 10:35:22
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class ktfZhYhydzb {
// 用海,用岛坐标
async getKtfZhYhydzbById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
// 用海,用岛坐标-修改
async updateKtfZhYhydzb (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/edit',
method: 'post',
data
})
}
}
export default new ktfZhYhydzb()