Commit 7026863c authored by 郝聪敏's avatar 郝聪敏

Merge branch 'feature/fix_pay' into 'master'

fix: 支付默认payOrderType改为动态化

See merge request !88
parents 13354185 eba57ffe
...@@ -22,7 +22,7 @@ new Vue({ ...@@ -22,7 +22,7 @@ new Vue({
}).$mount("#app"); }).$mount("#app");
// 初始化sentry // 初始化sentry
Raven.config("https://1dc603dd7c09468793aa003ab0bf9480@sentry.quantgroups.com/57", { Raven.config("https://1dc603dd7c09468793aa003ab0bf9480@sentry.q-gp.com/57", {
release, release,
environment: process.env.NODE_ENV environment: process.env.NODE_ENV
}) })
......
...@@ -81,8 +81,8 @@ export default { ...@@ -81,8 +81,8 @@ export default {
} }
}, },
getPayResult() { getPayResult() {
const { payOrderNo, orderNo } = this.orderInfo; const { payOrderNo, payType, orderNo } = this.orderInfo;
placeOrder.polling({ payOrderNo, payOrderType: 1 }).then(async payRes => { placeOrder.polling({ payOrderNo, payOrderType: payType || 1 }).then(async payRes => {
if (!payRes.result && payRes.payState === 2) { if (!payRes.result && payRes.payState === 2) {
this.payTimer = setTimeout(() => { this.payTimer = setTimeout(() => {
this.getPayResult(); this.getPayResult();
......
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