wx.request,使用post方法与后台交互式除了要设置
method:“POST”
还要设置
header: {'content-type': 'application/x-www-form-urlencoded'}
否则后台将接收不到数据
wx.request,使用post方法与后台交互式除了要设置
method:“POST”
还要设置
header: {'content-type': 'application/x-www-form-urlencoded'}
否则后台将接收不到数据