2019-10-29
此配置两个小程序都要同样配置!
此配置两个小程序都要同样配置!
配置服务器域名:微信小程序后台->开发->开发设置->服务器域名,如下图,
小程序服务器域名处,必须要添加一下的合法域名(域名指的是您的服务器域名,如您的域名为xgs.77make.com,则将下面的“域名”改为“xgs.77make.com”)
服务器配置 | 填写模板 | 实例(仅供参考) |
request合法域名 | https://apis.map.qq.com | https://apis.map.qq.com |
https://restapi.amap.com | https://restapi.amap.com | |
https://域名 | https://xgs.77make.com | |
socket合法域名 | wss://域名 | wss://xgs.77make.com |
wss://域名:9502 | wss://xgs.77make.com:9502 | |
uploadFile合法域名 | https://域名 | https://xgs.77make.com |
downloadFile合法域名 | https://wx.qlogo.cn | https://wx.qlogo.cn |
https://域名 | https://xgs.77make.com |