| 1234567891011121314151617181920212223 |
- function o(n, t) {
- const a = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME, i = new FormData();
- i.append("path", n);
- for (let e = 0; e < t.length; e++)
- i.append("files", t[e], t[e].name);
- return window.$utils.http({
- url: `${a}/ftpFile/batchFileSave`,
- data: i,
- headers: {
- "Content-Type": "multipart/form-data"
- }
- });
- }
- function l(n, t) {
- const a = window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
- return window.$utils.http({
- url: `${a}/ftpFile/delete?path=${n}&imageUrl=${encodeURIComponent(t)}`
- });
- }
- export {
- o as b,
- l as d
- };
|