import{r as e}from"./index.BKEMpsLA.js";const r="/api/system/borrow/",a="/api/system/borrow/application/";function o(t){return e({url:r+"application/",method:"get",params:t})}function n(t){return e({url:r+"application/",method:"post",data:t})}function p(t){return e({url:`/api/system/borrow/application/${t.id}/`,method:"put",data:t})}function s(t){return e({url:"/api/system/borrow/application/"+t+"/",method:"delete",data:{id:t}})}function u(t){return e({url:a+t+"/",method:"get"})}async function c(t){return await e({url:`/api/system/borrow/application/${t.id}/borrow/`,method:"post",data:t})}async function l(t){return await e({url:`/api/system/borrow/application/${t.id}/return_device/`,method:"post",data:t})}async function m(t){return await e({url:`/api/system/borrow/application/${t.id}/renew/`,method:"post",data:t})}function d(){return e({url:"/api/system/app_user/",method:"get"})}export{n as A,c as C,s as D,u as G,m as R,p as U,d as a,l as b,o as c};
