api.CJYkMyvs.js 601 B

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