|
@@ -55,10 +55,11 @@
|
|
product_id: '57e3a5a49f5160c9048b457c', // 产品ID
|
|
product_id: '57e3a5a49f5160c9048b457c', // 产品ID
|
|
count: '1' // 产品数量
|
|
count: '1' // 产品数量
|
|
}])
|
|
}])
|
|
|
|
+ let coupons = qs.stringify({0:'5836a1979f5160a7048b5a51'})
|
|
|
|
|
|
console.log(productParamJson)
|
|
console.log(productParamJson)
|
|
let extraJson = ''
|
|
let extraJson = ''
|
|
- extraJson = JSON.stringify([{type: '整间日常清洁', price: '1'}])
|
|
|
|
|
|
+ extraJson = JSON.stringify([{type: '整间日常清洁', price: '388'}])
|
|
console.log(extraJson)
|
|
console.log(extraJson)
|
|
const channel = 'wx_pub'
|
|
const channel = 'wx_pub'
|
|
const addressId = this.$store.state.user.userInfo.shop_address[0].address_id
|
|
const addressId = this.$store.state.user.userInfo.shop_address[0].address_id
|
|
@@ -86,7 +87,8 @@
|
|
user_id: config.userId,
|
|
user_id: config.userId,
|
|
address_id: addressId,
|
|
address_id: addressId,
|
|
station: '57db39709f5160bb048b456a',
|
|
station: '57db39709f5160bb048b456a',
|
|
- counts: 1,
|
|
|
|
|
|
+ coupons: '5836a1979f5160a7048b5a51',
|
|
|
|
+ counts: coupons,
|
|
extra: extraJson
|
|
extra: extraJson
|
|
}
|
|
}
|
|
config.orderInfo = tmp
|
|
config.orderInfo = tmp
|