注:我用的是uni-app写的

post请求data加密字符串,在移动端、微信开发者工具环境后端接收的正常。在pc端打开的小程序请求的时候后端接到的前后多了个双引号解决方案
js
header: {
'Content-Type': 'application/json;text/plain'
}