Commit 8fba1379 by 杨北旺

开通会员添加orderSource

1 parent 02626bf4
......@@ -100,17 +100,20 @@ export default {
async buyCard() {
this.showLoading();
let payMannerId;
let orderSource = 3
const ua = navigator.userAgent.toLowerCase()
if (ua.match(/MicroMessenger/i) == 'micromessenger') {
payMannerId = 6; //6
orderSource = 3
}else {
payMannerId = 2; //2
orderSource = 2
}
let para = {
merchantId: this.merchantId,
orderCode: this.orderCode,
payMannerId: payMannerId,
orderSource: 3,
orderSource: orderSource,
sessionId: this.sessionId,
}
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!