ktfZhYhydzb.js 543 Bytes
import request from '@/utils/request'
import SERVER from './config'

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