orderStr参数如下:
my.tradePay({
orderStr:res, // 完整的支付参数拼接成的字符串,从 alipay.fund.auth.order.app.freeze 接口获取
success: (res) => {
console.log('免押成功');
console.log(JSON.stringify(res),'不是JOSN');
console.log(JSON.stringify(res),'JSON');
if (res.resultCode == 9000) {
uni.redirectTo({
url: '/pagesA/lease/lease?deviceNo=' + this.deviceNo +
'&orderNo=' + orderNo
})
} else{
uni.showToast({
title:'免押失败',
icon:'none'
})
}
},
fail: (res) => {
console.log('免押失败');
console.log(JSON.stringify(res),'不是JOSN');
console.log(JSON.stringify(res),'JSON');
uni.showToast({
title:res.memo,
icon:'none'
})
}
});