|
|
@@ -422,6 +422,7 @@ export default {
|
|
|
if (that.isTrue == false) {
|
|
|
return;
|
|
|
}
|
|
|
+ console.log('进入支付')
|
|
|
that.isTrue = false;
|
|
|
if (this.openWay == 2) {
|
|
|
// #ifdef APP-PLUS
|
|
|
@@ -502,9 +503,9 @@ export default {
|
|
|
// APP支付宝支付
|
|
|
// #ifdef APP
|
|
|
this.$Request
|
|
|
- .post("/app/aliPay/payMoneyOrder", {
|
|
|
+ .postJson("/app/aliPay/payMoneyOrder", {
|
|
|
classify: 4,
|
|
|
- money: this.vipPrice,
|
|
|
+ money: 0.1,
|
|
|
type: 2,
|
|
|
})
|
|
|
.then((ret) => {
|
|
|
@@ -515,7 +516,7 @@ export default {
|
|
|
// #endif
|
|
|
// #ifdef H5
|
|
|
let data = {
|
|
|
- classify: 5,
|
|
|
+ classify: 4,
|
|
|
money: this.vipPrice,
|
|
|
type: 2,
|
|
|
};
|
|
|
@@ -525,8 +526,8 @@ export default {
|
|
|
that.isTrue = true;
|
|
|
const div = document.createElement("div");
|
|
|
div.innerHTML = res.data; //此处form就是后台返回接收到的数据
|
|
|
- document.body.appendChild(div);
|
|
|
- document.forms[0].submit();
|
|
|
+ // document.body.appendChild(div);
|
|
|
+ // document.forms[0].submit();
|
|
|
} else {
|
|
|
that.isTrue = true;
|
|
|
uni.showToast({
|
|
|
@@ -680,6 +681,7 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+ console.log('准备支付')
|
|
|
this.show = true;
|
|
|
},
|
|
|
//会员简历刷新次数
|