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

最近在作小程序時,使用wx.request()方法請求時,html 當使傳輸string類型時,必定要聲明method請求模式爲post,不然會一直報錯,而不聲明時默認爲get,json   已填坑 =,=小程序 wx.request({ method: "post", url: 'http://***.***.**/user/**/gainValidateCode
相關文章
相關標籤/搜索