You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
952 B

"use strict";const e=require("../../common/vendor.js"),t=require("../../sheep/config/index.js");Math||s();const s=()=>"../components/header_tops_tips.js",i={__name:"immediately",setup(c){function o(){console.log(e.index.getStorageSync("token"),"token"),e.index.request({url:`${t.baseUrl+t.apiPath}/member/user/get-ext`,method:"GET",header:{"tenant-id":1,Authorization:e.index.getStorageSync("token")},success:a=>{a.data.code==0?a.data.data.realNameAuthFlag==1?e.index.switchTab({url:"/pages/subpackages/mapnvue"}):a.data.data.realNameAuthFlag==2&&e.index.showModal({title:"账号未审核",content:"您的账号当前处于待审核状态,请联系客服,审核后重试",success:n=>{}}):e.index.showToast({icon:"error",title:a.data.msg})},fail:a=>{console.log(a,"error")}})}return(a,n)=>({a:e.o(o)})}},r=e._export_sfc(i,[["__scopeId","data-v-954e5004"],["__file","D:/xiangmu/佰安出行/app/s-applet/pages/index/immediately.vue"]]);wx.createPage(r);