ktfZhYhydzb.js 723 Bytes
/*
 * @Description  :用海,用岛坐标api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 16:18:28
 */
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()