开放平台设置了多个服务器域名,如a.xx.com;b.xx.com均不带https,然后调用modify_domain方法,设置小程序服务器域名
{
"action": "add",
"requestdomain": ["https://a.xx.com", "https://b.xx.com"],
"wsrequestdomain": ["wss://a.xx.com"],
"uploaddomain": ["https://a.xx.com", "https://b.xx.com"],
"downloaddomain": ["https://a.xx.com", "https://b.xx.com"],
"udpdomain": [],
"tcpdomain": []
}
返回结果是:
错误代码:85301,no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains
查阅文档,85301错误是:存在 “不符合域名规则的域名”导致无修改。
该如何处理?我的设置哪里有问题?
