import{U as a,E as e,V as t,Z as s,y as d,p as o}from"./index-b1399800.js";const r=r=>(a({title:"加载中",mask:!0}),new Promise(((a,n)=>{e({url:"/testingServertomcat/carbook/"+r.url,method:r.method||"GET",data:r.data||{},header:r.header,success:e=>{t(),200===e.data.code?a(e.data.data):"未查到用户信息"==e.data.message?(s("bus_card_number"),d({url:"/pages/index/index"})):o({title:e.data.message,icon:"none"})},fail:a=>{t(),o({title:"请求数据失败",icon:"none"}),n(a)}})})));export{r as m};
