|
[插件开发]
微信分享Android可以iOS闪退
[复制链接]
微信分享Android可以iOS闪退
weiXin.sendRequest({
scene: 'timeline',
contentType: 'web_page',
title: title,
description: '爽淘超市,速配到家',
thumbUrl: 'fs://28.png',
contentUrl: 'http://www**.**/m/product/detail/id--'+id+'.html'
},function(ret,err){
if(ret.status){
api.alert({title: '发表微信',msg: '发表成功', buttons: ['确定']});
} else{
api.alert({title: '发表失败',msg: err.msg,buttons: ['确定']});
};
});
|
|