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

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