小程序
小游戏
企业微信
微信支付
扫描小程序码分享
请教大神,本人刚开始学习微信小程序开发,执行https://developers.weixin.qq.com/ebook里面的案例时需要访问
https://test.com/getUserInfo?id=1
但是我自家网络访问此站点如下图
本地国内网络可以正常访问,并且未设置过代理。
江湖救急~ 感谢
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
去这里找办法:
http://maybe.com
http://test.cn
http://example.com
http://iAmATest.com
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
小程序开发工具执行代码
onLoad: function (options) {
wx.request({
url: 'https://test.com/getinfo?id=1&version=1.0.0',
success: function(res){
console.log(res)
}
})
结果如下
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
去这里找办法:
http://maybe.com
http://test.cn
http://example.com
http://iAmATest.com
http://这只是一个测试地址.com
小程序开发工具执行代码
onLoad: function (options) {
wx.request({
url: 'https://test.com/getinfo?id=1&version=1.0.0',
success: function(res){
console.log(res)
}
})
结果如下