kttFwZrz.js 695 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('sbApiUrl'))

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