Skip to content

Commit ae0df9d

Browse files
chore: fix error
1 parent 8232cdf commit ae0df9d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

pages/API/request-payment/request-payment.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
data: {
8080
action: 'loginByWeixin',
8181
params: {
82-
code: res.code,
82+
code: res.code,
8383
platform: 'mp-weixin'
8484
}
8585
},
@@ -160,8 +160,8 @@
160160
showCancel: false
161161
})
162162
return
163-
}
164-
console.log('--------orderInfo--------')
163+
}
164+
console.log('--------orderInfo--------')
165165
console.log(orderInfo);
166166
uni.requestPayment({
167167
provider,
@@ -195,12 +195,12 @@
195195
data: {
196196
provider,
197197
openid: this.openid,
198-
totalFee: Number(this.price) * 100, // 转为以分为单位
199-
// #ifdef APP-PLUS
200-
platform: 'app-plus',
201-
// #endif
202-
// #ifdef MP-WEIXIN
203-
platform: 'mp-weixin',
198+
totalFee: Number(this.price) * 100, // 转为以分为单位
199+
// #ifdef APP-PLUS
200+
platform: 'app-plus',
201+
// #endif
202+
// #ifdef MP-WEIXIN
203+
platform: 'mp-weixin',
204204
// #endif
205205
},
206206
success(res) {
@@ -251,4 +251,4 @@
251251
.ipaPayBtn {
252252
margin-top: 30rpx;
253253
}
254-
</style>
254+
</style>

0 commit comments

Comments
 (0)