kttGyJzd.js 815 Bytes
/*
 * @Description  :界址点api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:37:58
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class kttGyJzd {
  /**
   * @description: 界址点
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getKttGyJzdById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGyJzd/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  /**
   * @description: 修改界址点
   * @param {*} data
   * @author: renchao
   */
  async updateKttGyJzd (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGyJzd/edit',
      method: 'post',
      data
    })
  }
}
export default new kttGyJzd()