前提:接口是没有问题的

解决方案:

链接1   http://www.wxapp-union.com/forum.php?mod=viewthread&tid=3168

链接2   https://blog.csdn.net/weixin_40032217/article/details/80891242

就是换一行代码就好了header: {'content-type': 'application/x-www-form-urlencoded'},

 

TAG标签: 微信小程序500报错

http://www.xiaochengxub.com/read-104273.html