后端接受uni小程序POST请求时参数为null

前端接口封装时在请求头增加此参数

'content-type':'application/x-www-form-urlencoded',

具体参考了此篇文章icon-default.png?t=M85Bhttps://blog.csdn.net/wangqing830414/article/details/115511535

猜你喜欢

转载自blog.csdn.net/weixin_46607967/article/details/128247952