ktfZhYhydzb.js 864 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 {
  /**
   * @description: 用海,用岛坐标
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getKtfZhYhydzbById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  /**
   * @description: 用海,用岛坐标-修改
   * @param {*} data
   * @author: renchao
   */
  async updateKtfZhYhydzb (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KtfZhYhydzb/edit',
      method: 'post',
      data
    })
  }
}
export default new ktfZhYhydzb()