现在有一个小程序,使用了第三方平台代理发布小程序,每次提交审核一个版本之后,小程序设置的服务器域名就没有了,但是用API接口查询小程序的服务器域名有数据,小程序也无法获取后台的数据,直到重新在小程序的后台手动设置一下服务器域名(因为无法通过API重置服务器域名,提示域名没有任何改变)
通过API获取小程序服务器域名返回结果
{"errcode":0,"errmsg":"ok","requestdomain":["https://xxx.xxxx.com"],"wsrequestdomain":["wss://xxx.xxxx.com"],"uploaddomain":["https://xxx.xxxx.com"],"downloaddomain":["https://xxx.xxxx.com"],"invalid_requestdomain":[],"invalid_wsrequestdomain":[],"invalid_uploaddomain":[],"invalid_downloaddomain":[]}
现在还是这个问题,添加
{"errcode":0,"errmsg":"ok","requestdomain":["https:\/\/www.xmjixiu.com"],"wsrequestdomain":[],"uploaddomain":[],"downloaddomain":[],"invalid_requestdomain":[],"invalid_wsrequestdomain":[],"invalid_uploaddomain":[],"invalid_downloaddomain":[]}
这个可以成功,其他downloaddomain和wsrequestdomain和uploaddomain都成功不了。
请问这问题解决了吗?我也遇到这个问题。
第三方为小程序设置域名成功?
返回值:{"errcode":85017,"errmsg":"no domain to modify after filtered, please confirm the domain has been set in miniprogram or open hint: [F0hiSA00531091]"}
配置参数:{"action":"set","requestdomain":["https://xxx.xxxx.com","https://xxx.xxxx.com"],"wsrequestdomain":["wss://xxx.xxxx.com","wss://xxx.xxxx.com"],"uploaddomain":["https://xxx.xxxx.com","https://xxx.xxxx.com"],"downloaddomain":["https://xxx.xxxx.com","https://xxx.xxxx.com"]}
时间是 2020-03-18 10:04:15.510