Wechat shared the doubts of the group.

background
share to the group, users go to the group and click to complete the event
below is the method. The doubt is whether there are any loopholes in the following method
does wx.getShareInfo need to be used?
set up on the page

 wx.showShareMenu({
      //  shareTicket 
      withShareTicket: true
    })

in app.js

  onShow: function(options) {
    console.log(options)
    let that = this
    that.globalData.shareTicket = options.shareTicket
  },

get the App.globalData.shareTicket, on the page if there is proof that it has been shared in the group

Jan.24,2022
Menu