Commit 0f2ce597 authored by mengcuiguang's avatar mengcuiguang

支付成功刷新状态

parent cce513fe
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
<image class="avatar" src="@/static/logo-about.png"></image> <image class="avatar" src="@/static/logo-about.png"></image>
<view> <view>
<view style="font-size: 32rpx;color: black;margin-left: 20rpx;">用户ID:{{userBean.idcode}}</view> <view style="font-size: 32rpx;color: black;margin-left: 20rpx;">用户ID:{{userBean.idcode}}</view>
</view> </view>
<!-- <button text="微信用户一键登录" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">123123</button> --> <!-- <button text="微信用户一键登录" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">123123</button> -->
</view> </view>
<view v-if="userBean.showVipInner" <view v-if="userBean.showVipInner"
...@@ -203,7 +203,15 @@ ...@@ -203,7 +203,15 @@
}) })
}, },
paySuccess() { paySuccess() {
this.post({
url: '/user/baseMsg',
showLoading: false,
success: ({
data
}) => {
this.userBean = data;
}
});
}, },
getPhoneNumber(e) { getPhoneNumber(e) {
console.log(e.detail.code) // 动态令牌 console.log(e.detail.code) // 动态令牌
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment