fanfan 10 months ago
parent 43113a8f55
commit 8826b49521
  1. 9
      pages/goods/detail.vue

@ -482,6 +482,7 @@
import setPrice from './components/setPrice'
import * as address from '@/api/address.js'
import * as CartApi from '@/api/cart'
import store from '@/store'
export default {
components: {
SkuPopup,
@ -1171,10 +1172,12 @@
//
const that = this;
//
const params = that.$getShareUrlParams(this.options)
// const params = that.$getShareUrlParams(that.options)
const res = await GoodsApi.goodsShortUrl({
page_url: `pages/goods/detail?${params}`,
page_title: that.goods.goods_name
page_url: 'pages/goods/detail?refereeId='+store.getters.userId+'&goodsId='+this.goods.goods_id,
page_title: that.goods.goods_name,
// goodsId:that.goods.goods_id,
// refereeId:store.getters.userId
})
if (res.data.url) {
let str =

Loading…
Cancel
Save