kttGzw.js 548 Bytes
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class kttGzw {
  //构筑物
  async getKttGzwById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGzw/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  //修改构筑物
  async updateKttGzw (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttGzw/edit',
      method: 'post',
      data
    })
  }
}
export default new kttGzw()