console.log(typeof(orderStr))
console.log(ap)
ap.tradePay({
// 调用资金冻结接口(alipay.fund.auth.order.app.freeze),获取资金授权参数
orderStr: orderStr,
success: (res) => {
uni.alert({
content: JSON.stringify(res),
});
},
fail: (res) => {
uni.alert({
content: JSON.stringify(res),
});
}
});
js是是通过支付宝预授权下载的,打印ap能到得到里面的对象,点击免押以后能打印出ap,但是支付宝一点反应都没有,也没报错
y***@126.com
这玩意支持uni支付宝小程序吗
2023-03-06 11:15