Commit 8fba1379 by 杨北旺

开通会员添加orderSource

1 parent 02626bf4
...@@ -100,17 +100,20 @@ export default { ...@@ -100,17 +100,20 @@ export default {
async buyCard() { async buyCard() {
this.showLoading(); this.showLoading();
let payMannerId; let payMannerId;
let orderSource = 3
const ua = navigator.userAgent.toLowerCase() const ua = navigator.userAgent.toLowerCase()
if (ua.match(/MicroMessenger/i) == 'micromessenger') { if (ua.match(/MicroMessenger/i) == 'micromessenger') {
payMannerId = 6; //6 payMannerId = 6; //6
orderSource = 3
}else { }else {
payMannerId = 2; //2 payMannerId = 2; //2
orderSource = 2
} }
let para = { let para = {
merchantId: this.merchantId, merchantId: this.merchantId,
orderCode: this.orderCode, orderCode: this.orderCode,
payMannerId: payMannerId, payMannerId: payMannerId,
orderSource: 3, orderSource: orderSource,
sessionId: this.sessionId, sessionId: this.sessionId,
} }
let payData = await cardRoll.getCardBuy(para).then(res => { let payData = await cardRoll.getCardBuy(para).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!