|
|
|
@ -84,24 +84,24 @@ export default { |
|
|
|
this.$vux.toast.text("请登录微信进行操作", "middle"); |
|
|
|
return; |
|
|
|
} |
|
|
|
putMoney.putMoney({ amount: this.inputVal * 100 }).then(res => { |
|
|
|
if (res.code == 0) { |
|
|
|
this.$router.push({ |
|
|
|
name: "提现成功", |
|
|
|
params: { amount: this.inputVal } |
|
|
|
}); |
|
|
|
} else if (res.code == 666) { |
|
|
|
this.$vux.toast.text(res.msg, "middle"); |
|
|
|
setTimeout(function() { |
|
|
|
window.location.href = |
|
|
|
locationUrl + |
|
|
|
"/mall/web/user/login?callback=" + |
|
|
|
encodeURIComponent(window.location.href); |
|
|
|
}, 1000); |
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg, "middle"); |
|
|
|
} |
|
|
|
// this.$vux.toast.text(res) |
|
|
|
putMoney.putMoney({ num : this.inputVal * 100 }).then(res => { |
|
|
|
if (res.code == 0) { |
|
|
|
this.$router.push({ |
|
|
|
name: "提现成功", |
|
|
|
params: { amount: this.inputVal } |
|
|
|
}); |
|
|
|
} else if (res.code == 666) { |
|
|
|
this.$vux.toast.text(res.msg, "middle"); |
|
|
|
setTimeout(function() { |
|
|
|
window.location.href = |
|
|
|
locationUrl + |
|
|
|
"/mall/web/user/login?callback=" + |
|
|
|
encodeURIComponent(window.location.href); |
|
|
|
}, 1000); |
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg, "middle"); |
|
|
|
} |
|
|
|
// this.$vux.toast.text(res) |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
|