qlfQlTdsyq.js 1.1 KB
/*
 * @Description  :土地所有权的api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:46:41
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))

class qlfQlTdsyq {
  /**
   * @description: 土地所有权
   * @param {*} data
   * @author: renchao
   */
  async getQlfQlTdsyqList (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlTdsyq/getDataPage",
      method: "post",
      data,
    });
  }
  //土地所有权
  /**
   * @description: 土地所有权
   * @param {*} bsmSjsb
   * @author: renchao
   */
  async getQlfQlTdsyqById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/detail',
      method: 'get',
      params: {
        bsmSjsb: bsmSjsb
      }
    })
  }
  /**
   * @description: 修改土地所有权
   * @param {*} data
   * @author: renchao
   */
  async updateQlfQlTdsyq (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/reg/QlfQlTdsyq/edit',
      method: 'post',
      data
    })
  }
}
export default new qlfQlTdsyq();