import{ak as e,s as a,q as s}from"./index-ESTWQ1DK.js";const o="https://t-mapi.colormaprun.com/api/actMgt/",t=o+"SmsSend",n=o+"SignUp",r=o+"SignIn",i=o+"SignOut",l=o+"GetSelfInfo",m=o+"CompInfoQuery",d=o+"CompInfoDetail",c=o+"CompInfoAdd",p=o+"CompInfoEdit",u=o+"CompInfoPublish",f=o+"UploadFiles",g=o+"SelectSsctQuery",C=o+"SelectMapQuery",S=o+"SelectPlanQuery",Q=o+"CardRankDetailQuery",I=o+"CompQrCodeQuery",y=o+"CompQrCodeReset";function k(o){if(0==o.data.code)return!0;if(601==o.data.code){let a=e().$store;return a.state.userlevel>0&&(a.commit("setUsername",""),a.commit("setUserlevel",0),a.commit("setToken","")),!0}return 401==o.statusCode?(a({title:"您尚未登录",icon:"none",duration:3e3}),s({url:"/pages/login/login"}),!1):(console.log("======="),o.data.message&&a({title:`${o.data.message}`,icon:"none",duration:3e3}),!1)}export{l as a,m as b,k as c,d,u as e,I as f,y as g,Q as h,r as i,t as j,n as k,i as l,c as m,g as n,C as o,S as p,f as q,p as r};
