目的:问题求解
问题描述:
第三方平台代旗下小程序配置业务域时,返回 "{“errcode”:89021,“errmsg”:“request domain is not open’s webview domain! hint: [eylqeA06731513]”}
第三方平台已设置好业务域,且按文档要求在该业务域下配置了 校验文件。校验文件可访问。
按照文档要求,代旗下小程序配置业务域
http-outgoing-45 >> POST /wxa/setwebviewdomain?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1
http-outgoing-45 >> Content-Length: 84
http-outgoing-45 >> Content-Type: text/plain; charset=UTF-8
http-outgoing-45 >> Host: api.weixin.qq.com
http-outgoing-45 >> Connection: Keep-Alive
http-outgoing-45 >> User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_131)
http-outgoing-45 >> Accept-Encoding: gzip,deflate
http-outgoing-45 >> “POST /wxa/setwebviewdomain?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1[\r][\n]”
http-outgoing-45 >> “Content-Length: 84[\r][\n]”
http-outgoing-45 >> “Content-Type: text/plain; charset=UTF-8[\r][\n]”
http-outgoing-45 >> “Host: api.weixin.qq.com[\r][\n]”
http-outgoing-45 >> “Connection: Keep-Alive[\r][\n]”
http-outgoing-45 >> “User-Agent: Apache-HttpClient/4.4.1 (Java/1.8.0_131)[\r][\n]”
http-outgoing-45 >> “Accept-Encoding: gzip,deflate[\r][\n]”
http-outgoing-45 >> “[\r][\n]”
http-outgoing-45 >> “{“action”:“set”,“webviewdomain”:[“https://www.xxxxxx.com”,“https://www.xxxxxx.com”]}”
http-outgoing-45 << “HTTP/1.1 200 OK[\r][\n]”
http-outgoing-45 << “Connection: keep-alive[\r][\n]”
http-outgoing-45 << “Content-Type: application/json; charset=UTF-8[\r][\n]”
http-outgoing-45 << “Content-Length: 96[\r][\n]”
http-outgoing-45 << “[\r][\n]”
http-outgoing-45 << “{“errcode”:89021,“errmsg”:“request domain is not open’s webview domain! hint: [eylqeA06731513]”}”
http-outgoing-45 << HTTP/1.1 200 OK
http-outgoing-45 << Connection: keep-alive
http-outgoing-45 << Content-Type: application/json; charset=UTF-8
http-outgoing-45 << Content-Length: 96
-
配置业务域时的两个参数是 一样的 https://www.xxxxxx.com,且为第三方平台的服务器域。
-
请哪位同学看看,问题出现在什么地方?