uni.requestPayment({
provider: "wxpay",
orderInfo:{
appid:"wx84137fd5a58b8e93",
noncestr:result.data.nonceStr,
package:"Sign=WXPay",
prepayid,
partnerid:"1621198974",
sign:result.data.paySign,
timestamp:result.data.timeStamp
},
success: (res) => {
console.log(res);
},
fail: err => {
console.log(err);
}
})
这是参数{
"appid": "wx84137fd5a58b8e93",
"noncestr": "17PtUgYjStOzgzWC",
"package": "Sign=WXPay",
"prepayid": "wx31173705455654d7afa193c5b3f7230000",
"partnerid": "1621198974",
"sign": "FF21E581EF28CA2219B08F76A2F6524C",
"timestamp": "1648719425545"
}
我在真机调试上测试,没有反应,没有报错也没有提示,这是啥原因,在线等
统一下单参数贴一下看看