小程序 WebView 的 url 只要配了业务域名就可以随便跳么?

小程序 文章 2021-02-05 17:21 408 0 全屏看文

AI助手支持GPT4.0

小程序 WebView 的 url 只要配了业务域名就可以随便跳么?As long as the url of the small program WebView is equipped with a business domain name, can it be skipped at will?

小程序 WebView 的 url 只要配了业务域名就可以随便跳么?



有一个其它公司的小程序,想用 webview 嵌我的一个微信公众号网页应用,他们有他们的用户和鉴权体系,我有我们的用户和鉴权体系。他们单纯就是想放个入口想展示我们的数据。我把我们域名放在他们小程序业务域名里,他们的小程序 webview 就可以直接渲染我的微信公众号网页应用了么?我网页里的登录和鉴权完全按我们的来,不会有任何问题?

There is a small program of other companies, I want to use WebView to embed a WeChat official account website, they have their users and authentication system, I have our users and authentication system. They just want to put an entrance and show our data. I put our domain name in their small program business domain name, their small program WebView can directly render my WeChat official account web application? The login and authentication in my webpage are completely in accordance with ours, and there won't be any problem?

回答:

老张:

问题是,另外一家公司的网址,会让你配置吗?

爱走马路砑:让
老张:那没问题,你所说的需求都支持。
brave:

只要是你能配置的HTTPS链接,都可以。

默垂眸:

是的

只要你能配置就可以

前提H5页面中如果使用别的域名 包括但不限于iframe引入的 也是需要配置的

就好像你的H5用的是别的公众号的内容一样 你需要吧这个公众号H5网页域名配置到你的小程序业务域名内

-EOF-

AI助手支持GPT4.0