wx.request({
url: 'https://xxx.com/xxxx.php',
data: {
'jscode': code
},
method: 'POST',
header: {
"Content-Type": "application/x-www-form-urlencoded"
},
success: function (data) {
},
)}

 只需要在wx.request 中添加以下部分代码就可以实现。

method: 'POST',
header: {
"Content-Type": "application/x-www-form-urlencoded"
},

最新文章

  1. 计算机中丢失 msvcr110.dll 怎么办
  2. lintcode:在二叉查找树中插入节点
  3. Liunx系统学习一,liunx系统的目录结构及含义
  4. 第一章 JavaScript概述
  5. 【项目】git的部署使用
  6. 关于ODI agent的配置部署
  7. WinRarHelper帮助类
  8. Delphi 添加外部Form单元的方法!
  9. 晒stlink以及stm8“开发板”
  10. 安装Docker时错误提示 "could not change group /var/run/docker.sock to docker: group docker not found"的解决方案
  11. mysql-5.7.20
  12. HTTP协议转码
  13. eclipse中使用pull报错(git提交冲突)
  14. UVA 11584 Partitioning by Palindromes (字符串区间dp)
  15. Python之内置函数一
  16. [Redis]Redis的数据类型
  17. 腾讯笔试题 构造回文(LCS问题)
  18. sqlserver2017安装及连接过程中发现的问题
  19. 实现spring IOC的常见二种方法 setter注入与构造器注入
  20. jar 包和 mysql 服务器部署

热门文章

  1. codeforces 724D
  2. 【华为2016上机试题C++】最高分是多少
  3. JAVA基础-面向对象05
  4. EOJ3263:丽娃河的狼人传说(贪心)
  5. hdoj5805【模拟】
  6. bzoj 3926: [Zjoi2015]诸神眷顾的幻想乡【SAM】
  7. P5112 FZOUTSY
  8. influxdb数据库的安装部署(windows)二
  9. Apache Zeppelin是什么?
  10. spring+redis 报错 org.springframework.core.serializer.support.DeserializingConverter.<init>(Ljava/lang/ClassLoader;)V