mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
fix: 🐛 新增h5中微信支付完回调查询订单详情
This commit is contained in:
@@ -337,6 +337,22 @@
|
|||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
} else {
|
} else {
|
||||||
window.location.href = JSON.parse(response.result).h5_url;
|
window.location.href = JSON.parse(response.result).h5_url;
|
||||||
|
const searchParams = {
|
||||||
|
...params,
|
||||||
|
price:this.cashierParams,
|
||||||
|
}
|
||||||
|
const timer = setInterval(()=>{
|
||||||
|
payCallback(searchParams).then(res=>{
|
||||||
|
if(res.data.result){
|
||||||
|
clearTimeout(timer);
|
||||||
|
uni.navigateTo({
|
||||||
|
url:"/pages/order/myOrder"
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},3000)
|
||||||
|
|
||||||
|
uni.hideLoading();
|
||||||
}
|
}
|
||||||
} else if (paymentMethod === "WALLET") {
|
} else if (paymentMethod === "WALLET") {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user