djfDjSj.js
701 Bytes
/*
* @Description : 登记收件信息api文件
* @Autor : miaofang
* @LastEditTime : 2023-05-17 16:05:47
*/
import request from "@/utils/request";
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
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();