|
|
@ -83,11 +83,11 @@ function _post(url,data={}) { |
|
|
// }
|
|
|
// }
|
|
|
if(url.indexOf('product/get_product_detail')!=-1){ |
|
|
if(url.indexOf('product/get_product_detail')!=-1){ |
|
|
// 如果是产品详情的话 需要加埋点
|
|
|
// 如果是产品详情的话 需要加埋点
|
|
|
console.log(res.data) |
|
|
|
|
|
return; |
|
|
|
|
|
_post('browse/ProductStatistics',{ |
|
|
_post('browse/ProductStatistics',{ |
|
|
uuid:wx.getStorageSync('uuid'), |
|
|
uuid:wx.getStorageSync('uuid'), |
|
|
product_id:'1' |
|
|
product_id:res.data.data.id, |
|
|
|
|
|
product_name:res.data.data.title, |
|
|
|
|
|
type:res.data.data.type |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
resolved(res.data); |
|
|
resolved(res.data); |
|
|
|