qlfQlDyaq.js 877 Bytes
/*
 * @Description  :抵押权api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:44:04
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))

class qlfQlDyaq {
  // 抵押权登记
  async getQlfQlDyaqList (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/getDataPage",
      method: "post",
      data,
    });
  }
  // 抵押权
  async getQlfQlDyaqById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  // 抵押权-修改
  async updateQlfQlDyaq (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/QlfQlDyaq/edit",
      method: "post",
      data,
    });
  }
}
export default new qlfQlDyaq();