| | |
| | | this.$store.commit('syncUserNum',re.data.num) |
| | | }) |
| | | } |
| | | console.log('pay r') |
| | | }, (er) => { |
| | | console.log(er.msg,"err.msg") |
| | | // uni.showModal({ |
| | | // title: "温馨提示", |
| | | // content: er.msg |
| | | // }) |
| | | uni.showToast({ |
| | | title: '支付取消!', |
| | | icon: "error" |
| | | }) |
| | | console.log('pay rr') |
| | | }) |
| | | }else{ |
| | | console.log(this.rechargeOptions[this.current].comb_id) |
| | | uni.showToast({ |
| | | title: 'PC端用户支付!', |
| | | icon: "error" |
| | |
| | | if (!err && payRes.errMsg === "requestPayment:ok") { |
| | | uni.showModal({ |
| | | title: "温馨提示", |
| | | content: "权益已开通成功!" |
| | | content: "权益已开通成功!", |
| | | }) |
| | | this.$request('/api/Member/checkNum', 'POST',{ |
| | | comb_id: this.rechargeOptions[this.current].comb_id |