收藏
回答

小程序第三方开发中,提示不在以下 request 合法域名列表,不知道什么原因?

根据第三方平台API中的小程序域名管理接口,尝试使用了<代开发的小程序域名配置>说明的两种方式,都提示不在以下 request 合法域名列表,且小程序工具中显示request 合法域名列表没有设置。

但使用<获取发布后生效业务域名列表> 接口:POST https://api.weixin.qq.com/wxa/get_effective_webviewdomain?access_token=ACCESS_TOKEN 后,返回的数据为:{\"errcode\":0,\"errmsg\":\"ok\",\"mp_webviewdomain\":[\"https:\\/\\/bolebang.xcycwl.net\"],\"third_webviewdomain\":[\"https:\\/\\/bolebang.xcycwl.net\"],\"direct_webviewdomain\":[\"https:\\/\\/bolebang.xcycwl.net\"],\"effective_webviewdomain\":[\"https:\\/\\/bolebang.xcycwl.net\"]}

证明我发布小程序后,此域名已经是被设置过,是可以的。但很奇怪,当我提交审核并发布后,仍然显示request 合法域名列表没有设置。

第三方平台也已经配置好了域名,请求接口POST https://api.weixin.qq.com/cgi-bin/component/get_domain_confirmfile?access_token=ACCESS_TOKEN,返回数据为:{\"published_wxa_jump_h5_domain\":\"https:\\/\\/bolebang.xcycwl.net\",\"testing_wxa_jump_h5_domain\":\"https:\\/\\/bolebang.xcycwl.net\"}

不清楚是什么原因。

回答关注问题邀请回答
收藏

4 个回答

登录 后发表内容