✨ 微信公小程序支付:接入 100%

This commit is contained in:
YunaiV
2023-12-24 13:16:45 +08:00
parent b548999e89
commit d60d552bb1
3 changed files with 20 additions and 14 deletions
-1
View File
@@ -162,7 +162,6 @@ export default {
// 微信支付
wxpay(data, callback) {
this.isReady(() => {
debugger
jweixin.chooseWXPay({
timestamp: data.timeStamp, // 支付签名时间戳,注意微信jssdk中的所有使用timestamp字段均为小写。但最新版的支付后台生成签名使用的timeStamp字段名需大写其中的S字符
nonceStr: data.nonceStr, // 支付签名随机串,不长于 32 位