现在有三种方式:
1.生成urlscheme链接(支持微信环境和非微信环境,唤起小程序)文档地址:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html
2.生成urllink链接(支持微信环境和非微信环境,唤起小程序)文档地址:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html
3.使用开发标签<wx-open-launch-weapp>(支持微信环境,唤起小程序)文档地址:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_Open_Tag.html
附上标签开发注意事项:https://developers.weixin.qq.com/community/develop/article/doc/000c00b4490678f528baf2cf756413