kttFwLjz.js 866 Bytes
/*
 * @Description  :逻辑幢信息api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:37:24
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class kttFwLjz {
  /**
   * @description: 逻辑幢信息 -- 业务表单
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getKttFwLjzById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  /**
   * @description: 逻辑幢信息 -- 业务修改
   * @param {*} data
   * @author: renchao
   */
  async updateKttFwLjz (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/KttFwLjz/edit",
      method: "post",
      data,
    });
  }
}
export default new kttFwLjz();