微信小程序使用post提交java后台
emer 发布于 2018-8-23 17:26 2458 次阅读
wx.request({ url : "http://mall.vstob.com/public/checkWXMobileAndUserName", method: "POST", data: { username:this.user, mobile:this.phoneNum }, header: { "Content-Type": "application/x-www-form-urlencoded" }, success: function (res) { console.log(res.data); }, })