|
@@ -118,6 +118,9 @@
|
|
|
};
|
|
|
this.$u.api.addRechargeOrder(payParams).then(res=>{//提交充值订单
|
|
|
console.log('res',res.data);
|
|
|
+ if(res.code!=200&&res.msg){
|
|
|
+ uni.$u.toast(res.msg)
|
|
|
+ }
|
|
|
this.gotoPay({orderId:res.data.orderId,openid:this.vuex_wechatOpenid,paymentMode:4});
|
|
|
}).catch(err=>{
|
|
|
console.log('charge',err);
|