kttGyJzx.js 692 Bytes
/*
 * @Description  :界址线信息api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:38:10
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))

class kttGyJzx {
  //界址线信息
  async getKttGyJzxById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGyJzx/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  //修改界址线信息
  async updateKttGyJzx (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGyJzx/edit',
      method: 'post',
      data
    })
  }
}
export default new kttGyJzx()