djfDjSj.js 696 Bytes
/*
 * @Description  :登记收件相关api
 * @Autor        : miaofang
 * @LastEditTime : 2023-05-17 10:28:23
 */
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('sbApiUrl'))

class djfDjSj {
  //登记收件信息
  async getDjfDjSjById (bsmSjsb) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/detail",
      method: "get",
      params: {
        bsmSjsb: bsmSjsb,
      },
    });
  }
  //修改登记收件信息
  async updateDjfDjSj (data) {
    return request({
      url: SERVER.SERVERAPI + "/rest/reg/DjfDjSj/edit",
      method: "post",
      data,
    });
  }
}
export default new djfDjSj();