
作用:小程序分享
onShareAppMessage: function (res) {var that = this;return {title: '标题',path: '/pages/index/index',imageUrl: '',success: function (res) {res.shareTickets // 单聊是没有的},fail: function (res) {// 转发失败}}}
onShareAppMessage: function (res) {var that = this;return {title: '标题',path: '/pages/index/index?id=' + id,imageUrl: '',success: function (res) {res.shareTickets // 单聊是没有的},fail: function (res) {// 转发失败}}}