djfDjSz.js 702 Bytes
/*
 * @Description  :登记缮证信息api文件
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:30:48
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))

class djfDjSz {
  //登记缮证信息
  async getDjfDjSzById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  //修改登记缮证信息
  async updateDjfDjSz (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjSz/edit",
      method: "post",
      data,
    });
  }
}
export default new djfDjSz();