Commit 77fefd20 by 李伟康

commit

1 parent 811be70c
......@@ -38,7 +38,7 @@ export default {
let { merchantId } = this.getLocalStorage('dj_scrm_userInfo')
let { tabIndex, entry, tabList } = this
let { name } = this.$route
let { userId, id, couponName, activityName, packageName, goodsName, goodsImage } = i
let { userId, id, couponName, activityName, packageName, goodsName, goodsImage ,discountType} = i
let shopmall_appId = environment == 'beta' ? 'wx9f91c1ec493eb425' : 'wxe10067a63c1856ac'
let dj_appId = 'wx06d1198e751435d1'
this.showLoading()
......@@ -65,7 +65,7 @@ export default {
if (entry != 'normal')
this.sendChatMessage({
appid: shopmall_appId,
title: couponName,
title: `${couponName}(${window.$discountType[discountType]}券)`,
imgUrl,
page: `/packageMall/pages/coupon/coupon.html?couponId=${id}&merchantId=${merchantId}`
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!