file-D1mWUYVI.js 769 B

1
  1. import{a as o}from"./entry/index-BOVpYCVt-1731915664217.js";function r(s,e){return o.uploadFile({url:"https://wxadminapi.gkscrm.com/fms-api/upload",onUploadProgress:e},s)}const i=(s,e="notice")=>o.post({url:"/fms-api/file/list",params:s},{errorMessageMode:e,successMessageMode:"none"}),l=(s,e="notice")=>o.post({url:"/fms-api/file/update",params:s},{errorMessageMode:e,successMessageMode:e}),n=(s,e="notice")=>o.post({url:"/fms-api/file/delete",params:s},{errorMessageMode:e,successMessageMode:e}),p=(s,e,a="notice")=>o.post({url:"/fms-api/file/status",params:{id:s,status:e}},{errorMessageMode:a,successMessageMode:a}),u=(s,e="none")=>o.get({url:"/fms-api/file/download/"+s,responseType:"blob"},{errorMessageMode:e});export{l as U,n as a,u as d,i as g,p as s,r as u};