哥哥们,关于小程序嵌套H5的问题,我在小程序中放了微信红包封面领取链接,为什么会提示请使用微信打开?

小程序 文章 2021-02-07 10:41 568 0 全屏看文

AI助手支持GPT4.0

哥哥们,关于小程序嵌套H5的问题,我在小程序中放了微信红包封面领取链接,为什么会提示请使用微信打开?Brothers, regarding the issue of mini program nesting H5, I put the WeChat red envelope cover collection link in the mini program, why is it prompted to open it with WeChat?

哥哥们,关于小程序嵌套H5的问题,我在小程序中放了微信红包封面领取链接,为什么会提示请使用微信打开?

1.这是我在A款小程序放的红包封面领取链接(会提示我请使用微信打开此链接)


2.这是我在B款小程序直接放的红包领取链接,是可以打开的


到底是哪里出现了问题呢?

1. This is the link I put on the front cover of the red envelope in the a app (it will prompt me to open this link with wechat). 2. This is the link I put on the B app directly. It can be opened. What's the problem?

回答:

跨商通:

小程序webview不是微信内部浏览器。

oy:那哥哥我需要怎么做呢?
Brother斌🎈:

https://developers.weixin.qq.com/miniprogram/dev/api/open-apiedpackage/wx.showRedPackage.html

可以试一下直接用这个拉起红包封面

oy:好的,谢谢,我试一下哈~
oy:

谢谢哥哥们看我帖子,到底是哪里不对了呢

-EOF-

AI助手支持GPT4.0