Commit abd260a2 by 杨北旺

权益购买添加商户号

1 parent 58dd7254
......@@ -197,6 +197,9 @@ Page({
if (!orderCode) {
return
}
const {
merchantId
} = wx.p.storage.get('merchant_info')
const { selectedItem, rechageNum,isGameUse,coupons } = this.data
let para = {
orderCode,
......@@ -204,7 +207,8 @@ Page({
rechargeNumber: rechageNum,
goodsQuality: 1,
// payMannerId: 19,
paySource: 3
paySource: 3,
merchantId
}
if(isGameUse&&coupons){
para.usedCouponIds = [coupons.id]
......
......@@ -250,7 +250,7 @@ Page({
// 获取订单号
toGetCode() {
let para = {
supplier: this.data.query.supplier
supplier: this.data.query.supplier,
}
wx.p.api.equityApi.getOrderCode(para).then(res => {
this.getPayParam(res)
......@@ -262,12 +262,17 @@ Page({
return
}
const { curentGoodsItem,coupons,isGameUse } = this.data
const {
merchantId
} = wx.p.storage.get('merchant_info')
let para = {
orderCode,
goodsId: curentGoodsItem.id,
goodsQuality: 1,
// payMannerId: 19,
paySource: 3,
merchantId
}
if(isGameUse&&coupons){
para.usedCouponIds = [coupons.id]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!