ktfZhYhzk.js 540 Bytes
import request from '@/utils/request'
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))

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()