{
"action": "add",
"requestdomain": [
"https://hefei.XX.com.cn",
"https://restapi.amap.com"
],
"uploaddomain": [
"https://hefei.XX.com.cn",
"https://restapi.amap.com"
],
"downloaddomain": [
"https://hefei.XX.com.cn",
"https://restapi.amap.com"
]
}参数就这样的,但是只有下面的地图的api设置成功了,第三方平台里面配置过了服务器域名
你好,请提供下接口报错rid信息~
解决了吗,我也遇到这个问题了
{"errcode":0,"errmsg":"ok","requestdomain":["https:\/\/xcxapi.bccoo.cn"],"wsrequestdomain":["wss:\/\/xcxapi.bccoo.cn"],"uploaddomain":["https:\/\/xcxapi.bccoo.cn"],"downloaddomain":["https:\/\/xcxapi.bccoo.cn","https:\/\/p20.pccoo.cn","https:\/\/r20.pccoo.cn"],"udpdomain":[],"tcpdomain":[],"invalid_requestdomain":[],"invalid_wsrequestdomain":[],"invalid_uploaddomain":[],"invalid_downloaddomain":["https:\/\/p21.pccoo.cn","https:\/\/r21.pccoo.cn","https:\/\/face.pccoo.cn"],"invalid_udpdomain":[],"invalid_tcpdomain":[],"no_icp_domain":[]}
我这个也是这样 只设置的起其中r20
核对第三方平台的设置的服务器域名
你把接口返回的内容顺便贴一下看看。
{
"errcode": 85301,
"errmsg": "no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains",
"requestdomain": [],
"wsrequestdomain": [],
"uploaddomain": [],
"downloaddomain": [],
"udpdomain": [],
"tcpdomain": [],
"invalid_requestdomain": [
"https://hefei.xx.com.cn"
],
"invalid_wsrequestdomain": [],
"invalid_uploaddomain": [
"https://hefei.xx.com.cn"
],
"invalid_downloaddomain": [
"https://hefei.xx.com.cn"
],
"invalid_udpdomain": [],
"invalid_tcpdomain": [],
"no_icp_domain": []
}