当前位置:网站首页>不在以下合法域名列表中,微信小程序解决办法
不在以下合法域名列表中,微信小程序解决办法
2022-06-13 06:04:00 【Little xian】
小程序发送request请求
sendRequest:function(){
wx.request({
url: "https://gank.io/api/data/Android/10/1",
header: {
"Content-Type": "application/json"
},
method: "GET",
success: function(res) {
var data = res.data;
console.log(data);
}
});
},提示:不在合法域名列表中
继续。
在项目中刷新域名
最后清除数据缓存

边栏推荐
- Leetcode guessing numbers game - simple
- Data conversion analysis tool
- [turn] explain awk (2)_ Combining formatted output with built-in variables to realize requirements
- 自我总结ing
- Leetcode- intersection of two arrays - simple
- Byte buddy print execution time and method link tracking
- Essays on November 5, 2021
- Leetcode- student attendance record i- simple
- USB debugging assistant 20181018 (v1.3)
- NVIDIA Jetson nano/xavier NX capacity expansion tutorial
猜你喜欢

Echart柱状图:堆叠柱状图value格式化显示

Complete USB debugging assistant

Application virtual directory static resource configuration on tongweb
![[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples](/img/65/a214d137e230b1a1190feb03660f2c.jpg)
[turn] explain awk (1)__ Awk Basics_ Options_ Program segment parsing and examples

Building a stand-alone version of Nacos series

Misunderstanding of tongweb due to ease of use

軟件測試——接口常見問題匯總

Experience of redis installation under Linux system (an error is reported at the same time. The struct redis server does not have a member named XXXX)

Sentinel series integrates Nacos and realizes dynamic flow control

智能数字资产管理助力企业决胜后疫情时代
随机推荐
@The detailed explanation of configurationproperties and the problem that all properties of the entity bean modified by this annotation are null after injection are solved
Byte buddy print execution time and method link tracking
Echart柱状图:堆叠柱状图显示value
Leetcode- reverse string - simple
Exception after repeated application redeployment on tongweb: application instance has been stopped already or outofmemoryerror:metaspace
Leetcode- complement of numbers - simple
js将文本转成语言播放
Leetcode- intersection of two arrays ii- simple
The technical analysis of ERP systems of the two camps in the world has been picked up many times.
ffmpeg 下载后缀为.m3u8的视频文件
Use of Nacos configuration center
Service architecture diagram of Nacos series
MySQL stored procedure
Leetcode- longest continuous increasing sequence - simple
Leetcode- first unique character in string - simple
Sentinel series integrates Nacos and realizes dynamic flow control
How to view tongweb logs correctly?
【DP之01背包】
Leetcode- find a difference - simple
MySQL trigger