参考链接:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/url-scheme.html
- 通过在小程序管理后台「工具」-「生成 URL Scheme」入口可以获取打开小程序任意页面的 URL Scheme
生成的链接类如:weixin://dl/business/?t= TICKET
- H5页面
location.href = 'weixin://dl/business/?t= *TICKET*'
微信扫一扫
参考链接:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/url-scheme.html
生成的链接类如:weixin://dl/business/?t= TICKET
location.href = 'weixin://dl/business/?t= *TICKET*'
相关推荐