10.9提交
This commit is contained in:
+4
-4
@@ -12,11 +12,11 @@ export function requestPayment(orderInfo, successCallback, failCallback) {
|
||||
// 微信小程序支付
|
||||
uni.requestPayment({
|
||||
provider: 'wxpay',
|
||||
timeStamp: orderInfo.timeStamp,
|
||||
nonceStr: orderInfo.nonceStr,
|
||||
package: 'prepay_id='+orderInfo.prepayId,
|
||||
timeStamp: orderInfo.timeStamp || orderInfo.timestamp,
|
||||
nonceStr: orderInfo.nonceStr || orderInfo.noncestr,
|
||||
package: orderInfo.prepayId?'prepay_id='+orderInfo.prepayId:'prepay_id='+orderInfo.prepayid,
|
||||
signType: orderInfo.signType || 'RSA',
|
||||
paySign: orderInfo.paySign,
|
||||
paySign: orderInfo.paySign || orderInfo.sign,
|
||||
success: (res) => {
|
||||
console.log('微信支付成功', res);
|
||||
successCallback && successCallback(res);
|
||||
|
||||
Reference in New Issue
Block a user