Commit 1c535af0 authored by mengcuiguang's avatar mengcuiguang

兼容0元签约支付成功回调

parent 9bd26828
...@@ -246,12 +246,18 @@ ...@@ -246,12 +246,18 @@
extraData: wxData.params, extraData: wxData.params,
success(res) { success(res) {
console.log("wxSign suc=", res); console.log("wxSign suc=", res);
// 成功跳转到签约小程序 if (res.return_code == 'SUCCESS') {
that.queryOrderStatus(largeType, wxData.tidStr); console.log("wxSign suc1111");
// 成功跳转到签约小程序
that.queryOrderStatus(largeType, wxData.tidStr);
} else {
// 签约失败
console.log("wxSign fail22222");
}
}, },
fail(res) { fail(res) {
// 未成功跳转到签约小程序 // 未成功跳转到签约小程序
console.log("wxSign fail=", res); console.log("wxSign fail=3333", res);
} }
}) })
}, },
......
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