Commit 1947d835 by chenwq

店铺中心-会员套餐和门店商品,活动中心-秒杀活动和商城优惠券,短链加推荐人信息。

1 parent 0b470a2c
......@@ -50,7 +50,8 @@ export default {
},
sendMessage (i) {
const { shopmall_appid } = window.$fetchConfig
let { merchantId, merchantName, userName, sapCode } = this.getLocalStorage('dj_scrm_userInfo')
let { merchantId, merchantName, userName, sapCode, uuid } = this.getLocalStorage('dj_scrm_userInfo')
console.log(this.getLocalStorage('dj_scrm_userInfo'))
let { tabIndex, entry } = this
let { name } = this.$route
let { userId, id, couponName, activityName, packageName, goodsName, goodsImage, discountType } = i
......@@ -81,7 +82,7 @@ export default {
})
} else {
let path = 'packageMall/pages/coupon/coupon'
query = `couponId=${id}&${query}&issueName=${this.toUnicode(userName)}&issueDate=${new Date().getTime()}&shareSource=1`
query = `couponId=${id}&${query}&issueName=${this.toUnicode(userName)}&issueDate=${new Date().getTime()}&shareSource=1&shareStaffName=${this.toUnicode(userName)}&shareStaffUuid=${uuid}`
this.couponShare(i, url => {
if (entryType) this.sendChatMessage({
appid: shopmall_appid,
......@@ -104,7 +105,7 @@ export default {
if (tabIndex == 0) {
let imgUrl = 'http://img01.glsx.com.cn/upload/biz/dracMini-ms-10004.png'
let path = 'packageMall/pages/detail/detail'
query = `isActivity=true&id=${id}&${query}`
query = `isActivity=true&id=${id}&${query}&shareStaffName=${this.toUnicode(userName)}&shareStaffUuid=${uuid}`
if (entryType) this.sendChatMessage({
appid: shopmall_appid,
title: activityName,
......@@ -145,7 +146,7 @@ export default {
} else if (tabIndex == 1) {
let path = 'packageEquity/pages/package/package'
let imgUrl = 'http://img01.glsx.com.cn/upload/biz/dracMini-qy-10004.png'
query = `id=${id}&${query}`
query = `id=${id}&${query}&shareStaffName=${this.toUnicode(userName)}&shareStaffUuid=${uuid}`
if (entryType) this.sendChatMessage({
appid: shopmall_appid,
title: packageName,
......@@ -163,7 +164,7 @@ export default {
})
} else {
let path = 'packageMall/pages/detail/detail'
query = `id=${id}&${query}`
query = `id=${id}&${query}&shareStaffName=${this.toUnicode(userName)}&shareStaffUuid=${uuid}`
if (entryType) this.sendChatMessage({
appid: shopmall_appid,
title: goodsName,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!