一.示例代码
wx.request({
url: "test.php", // 仅为示例,并不是真实的接口地址
data: {
x: "",
y: ""
},
header: {
"content-type": "application/json" // 默许值
},
success(res) {
console.log(res.data)
}
})wx.request({
url: "test.php", // 仅为示例,并不是wx.request({
url: "test.php", // 仅为示例,并不是真实的接口地址
data: {
x: "",
y: ""
},
header: {
"content-type": "application/json" // 默许值
},
success(res) {
console.log(res.data)
}
})wx.request({
url: "test.php", // 仅为示例,并不是