惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
量子位
Martin Fowler
Martin Fowler
月光博客
月光博客
P
Proofpoint News Feed
博客园_首页
Y
Y Combinator Blog
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
H
Help Net Security
U
Unit 42
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
MongoDB | Blog
MongoDB | Blog
F
Fortinet All Blogs
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - netcorner

docker 启动报错 library initialization failed - unable to allocate file descriptor table - out of memory docker容器访问上层宿主主机的方式 svn: Server SSL certificate verification failed certificate issued for a different hostname springboot 参数校验 windows批处理 打开exe后关闭cmd 分页得到查询总数的方法 mysql input[type="file"] change事件第二次不触发 Docker安装Kibana Docker安装ElasticSearch Docker安装Redis Docker安装Tomcat Docker安装 Nginx mysql服务设置远程连接 解决1251 client does not support ..问题 Docker 安装MySQL容器 安装Docker 图形界面管理工具 -- Portainer Dockfile 编写示例(将 jar 制作成容器) Docker 常用命令集 云服务器CentOS安装Docker CentOS7离线安装Docker
小程序post请求,后台接收不到数据的解决方法
netcorner · 2021-03-03 · via 博客园 - netcorner
  wx.request({
        url: 'myurl',
        method:'POST',
        dataType:'json',
        data: {
          mydata:mydata
        },
        success(res) {
          console.log(res.data)
        }
      })

改为

wx.request({
   url: 'myurl',
   method:'POST',
   dataType:'json',
   header: {
     'content-type': 'application/x-www-form-urlencoded'
   },
   data: {
     mydata:mydata10         },
   success(res) {
     console.log(res.data)
   }
 })

posted @ 2021-03-03 19:47  netcorner  阅读(548)  评论(0)    收藏  举报