"use strict";const e=require("../../request/index.js"),s={getAddressList:(s=1)=>e.request({url:"/member/address/list",method:"GET",params:{addressType:s}}),createAddress:s=>e.request({url:"/member/address/create",method:"POST",data:s,custom:{showSuccess:!0,successMsg:"保存成功"}}),updateAddress:s=>e.request({url:"/member/address/update",method:"PUT",data:s,custom:{showSuccess:!0,successMsg:"更新成功"}}),getAddress:(s,d=1)=>(console.log("123123",d),e.request({url:"/member/address/get",method:"GET",params:{id:s,addressType:d}})),deleteAddress:(s,d=1)=>e.request({url:"/member/address/delete",method:"DELETE",params:{id:s,addressType:d}})};exports.AddressApi=s;
