收藏
回答

配置小程序服务器域名wx.qlogo.cn无法配置成功?

https://wx.qlogo.cn小程序后台可以添加,代码配置无法添加。被识别为无效域名。这个是什么问题,接口有办法解决 吗?

入参:{

"action": "set",

"downloaddomain": ["https://hw.service.ihengtian.top", "https://island.picture.ihengtian.top", "https://photo.ihengtian.top", "https://picture.ihengtian.top", "https://wx.qlogo.cn"],

"requestdomain": ["https://apis.map.qq.com", "https://hw.service.ihengtian.top"],

"tcpdomain": [],

"udpdomain": ["udp://hw.service.ihengtian.top"],

"uploaddomain": ["https://hw.service.ihengtian.top"],

"wsrequestdomain": ["wss://hw.service.ihengtian.top"]

}


出参:{

"errcode": 0,

"errmsg": "ok",

"requestdomain": ["https:\/\/apis.map.qq.com", "https:\/\/hw.service.ihengtian.top"],

"wsrequestdomain": ["wss:\/\/hw.service.ihengtian.top"],

"uploaddomain": ["https:\/\/hw.service.ihengtian.top"],

"downloaddomain": ["https:\/\/hw.service.ihengtian.top", "https:\/\/island.picture.ihengtian.top", "https:\/\/photo.ihengtian.top", "https:\/\/picture.ihengtian.top"],

"udpdomain": ["udp:\/\/hw.service.ihengtian.top"],

"tcpdomain": [],

"invalid_requestdomain": [],

"invalid_wsrequestdomain": [],

"invalid_uploaddomain": [],

"invalid_downloaddomain": ["https:\/\/wx.qlogo.cn"],

"invalid_udpdomain": [],

"invalid_tcpdomain": [],

"no_icp_domain": []

}

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

1 个回答

  • 第三方平台小助手
    第三方平台小助手
    2022-10-10

    你好,需要先将域名登记到第三方平台的小程序服务器域名中,才可以调用接口进行配置

    2022-10-10
    有用
    回复
登录 后发表内容