ktfZhYhzk.js
689 Bytes
/*
* @Description :用海状况相关api
* @Autor : miaofang
* @LastEditTime : 2023-05-17 10:35:41
*/
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))
class ktfZhYhzk {
//用海状况
async getKtfZhYhzkById (bsmSjsb) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/detail',
method: 'get',
params: {
bsmSjsb: bsmSjsb
}
})
}
//修改用海状况
async updateKtfZhYhzk (data) {
return request({
url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhzk/edit',
method: 'post',
data
})
}
}
export default new ktfZhYhzk()