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