var e=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable,r=(a,o,t)=>o in a?e(a,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[o]=t,n=(e,n)=>{for(var i in n||(n={}))o.call(n,i)&&r(e,i,n[i]);if(a)for(var i of a(n))t.call(n,i)&&r(e,i,n[i]);return e};import{i}from"./index-CY1ySRal.js";function p(){return i.get({url:"/api/common/captcha",params:{_t:Date.now()},skipAuth:!0})}function l(e,a){return i.post({url:"/api/common/sendMobileCode",data:n({mobile:e},a||{}),skipDockingToken:!0})}function s(e,a){return i.post({url:"/api/common/sendEmailCode",data:n({email:e},a||{}),skipDockingToken:!0})}function u(e,a){const o=new FormData;return o.append("file",e),i.post({url:"/api/upload/image",data:o,headers:{"Content-Type":"multipart/form-data"}})}export{l as a,p as g,s,u};
