微信小程序踩坑之一[wx.request]请求模式

最近在作小程序时,使用wx.request()方法请求时,html 当使传输string类型时,必定要声明method请求模式为post,不然会一直报错,而不声明时默认为get,json   已填坑 =,=小程序 wx.request({ method: "post", url: 'http://***.***.**/user/**/gainValidateCode
相关文章
相关标签/搜索