Commit 4c558210 authored by 罗超's avatar 罗超

1

parent b37c0c9b
...@@ -874,7 +874,9 @@ export default { ...@@ -874,7 +874,9 @@ export default {
OrderId: data.OrderId, OrderId: data.OrderId,
preferPrice: data.PreferPrice, preferPrice: data.PreferPrice,
}; };
that.payAliCallback(cbObj); console.log(883, cbObj);
this.payAliCallback(cbObj);
console.log(884);
} else { } else {
uni.showToast({ uni.showToast({
title: "获取交易号失败", title: "获取交易号失败",
...@@ -914,7 +916,7 @@ export default { ...@@ -914,7 +916,7 @@ export default {
}); });
}, },
payAliCallback(obj) { payAliCallback(obj) {
console.log(893, Obj); console.log(893, obj);
this.request2( this.request2(
{ {
url: "/api/AliPay/ALiPayCallBackDmcNotify", url: "/api/AliPay/ALiPayCallBackDmcNotify",
...@@ -932,11 +934,6 @@ export default { ...@@ -932,11 +934,6 @@ export default {
uni.redirectTo({ uni.redirectTo({
url: "/pages/jiuzhai/paysuccess?PreferPrice=" + obj.PreferPrice, url: "/pages/jiuzhai/paysuccess?PreferPrice=" + obj.PreferPrice,
}); });
// setTimeout(() => {
// uni.redirectTo({
// url: "/pages/jiuzhai/jz_MyOrder",
// });
// }, 1000);
}, },
(err) => { (err) => {
console.log("cb2", err); console.log("cb2", err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment