qlfQlNydsyq.js 989 Bytes
/*
 * @Description  :农用地使用权(非林地)的api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:46:08
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))

class qlfQlNydsyq {
  // 农用地使用权(非林地)
  async getQlfQlNydsyqByConditon (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/getDataPage",
      method: "post",
      data,
    });
  }
  //农用地使用权(非林地)
  async getQlfQlNydsyqByID (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  //修改农用地使用权(非林地)
  async updateQlfQlNydsyq (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlNydsyq/edit",
      method: "post",
      data,
    });
  }
}
export default new qlfQlNydsyq();