Home > Mobile >  Small programs bring forward capability
Small programs bring forward capability

Time:10-20

Everyone a great god, and through WeChat excuse me small program to share with friends in the top right corner of the forwarding function, can know who to share with the friends?

CodePudding user response:

Personally think that you want to share a link person id and Shared id with the database

CodePudding user response:

Share the source, can be know, need background decoding, look at the document are specified

CodePudding user response:

Forward WeChat small program involves the following four methods:

1, Page. OnShareAppMessage ({})
Set the upper right corner of the "forward" configuration, and forward the callback function returns shareTicket paper
2, wx. ShowSahreMenu ()
After users click on the top right corner, according to the "forward" button
3, wx. HideShareMenu ()
Hide the forward button, ignoring Page. OnShareAppMessage ({})
4, wx. GetShareInfo ({})
According to the shareTicket of encrypted information

CodePudding user response:

Help you top it

CodePudding user response:

Sharing the path behind can carry parameters

CodePudding user response:

Good, sharing path behind the url with id,
  • Related