kttFwZrz.js 834 Bytes
/*
 * @Description  :自然幢信息api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:37:44
 */
import request from '@/utils/request'
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class kttFwZrz {
  /**
   * @description: 自然幢信息
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getKttFwZrzById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttFwZrz/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  /**
   * @description: 自然幢信息-修改
   * @param {*} data
   * @author: renchao
   */
  async updateKttFwZrz (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/KttFwZrz/edit',
      method: 'post',
      data
    })
  }
}
export default new kttFwZrz()