1 |
- import{r}from"./index.DyOs_NCX.js";const e="/api/system/borrow/application/?status=1";function n(t){return r({url:e,method:"get",params:t})}function i(t){return r({url:e,method:"post",data:t})}function u(t){return r({url:e+t.id+"/",method:"put",data:t})}function p(t){return r({url:e+t+"/",method:"delete",data:{id:t}})}function d(t){return r({url:"/api/system/tenant/switch/",method:"post",data:{tenant_id:t}})}function m(t,a,o){return r({url:`/api/system/borrow/application/${t}/review/`,method:"post",data:{action:a,remark:o}})}export{i as A,m as B,p as D,n as G,d as S,u as U};
|