Authored by QC-L

更新有赚消息列表分享安卓端适配 review by sunkai

... ... @@ -137,6 +137,17 @@ class MessageContainer extends Component {
yh_channel: '1'
}
}).catch((error) => {
let param = {
url: params.url.split('?')[0],
title: params.content,
content: params.content,
pic: params.image,
minSortName: 0,
wechatShareImgUrl: params.image,
union_type
};
let shareParam = shareStrollDetail(param);
ReactNative.NativeModules.YH_CommonHelper.shareInfoWithGuangParam(shareParam);
throw(error);
});
let data = json;
... ...
... ... @@ -99,6 +99,7 @@ const shareGoodsDetail = (shareInfo) => {
product_name: productInfo.productName ? productInfo.productName : '',
sales_price: `¥${productInfo.originalSalesPrice}`,
productDefaultImage: productInfo.colorImage,
product_skn: productSkn + '',
fromType: 'productDetail',
};
return shareParam;
... ... @@ -127,6 +128,7 @@ const shareStrollDetail = (shareInfo) => {
title: title ? title : '',
content: content ? content : '',
pic: pic,
image: pic,
bigImage: wechatShareImgUrl,
url: url,
minSortName,
... ...