import{s as r}from"./http-BeIBo5P3.js";function l(n,a={}){a.isFilter=!0;const o=new FormData;o.append("upfile",n);for(const e in a)a.hasOwnProperty(e)&&o.append(e,a[e]);return new Promise((e,i)=>{r({url:"/api/mobile/shop/oss/upload",method:"post",data:o}).then(t=>{e(t)}).catch(t=>i(console.warn(t)))})}function s(n,a){const o=new FormData;return o.append("upfile",n),o.append("imgType",a),new Promise((e,i)=>{r({url:"/api/mobile/shop/lakala/tk/uploadOcrImg",method:"post",data:o}).then(t=>{e(t)}).catch(t=>i(console.warn(t)))})}function u(n){return r({url:"/api/mobile/shop/lakala/tk/imgOcrResult",method:"POST",data:n})}export{s as b,u as i,l as u};
