When initiating a network request, an error occurs in the URL?
sikela
sikela 2018-05-12 23:36:42
0
1
950

url.PNGurl1.PNG

sikela
sikela

reply all(1)
sikela

Completely followed the video step by step, but used Yiyuan's API. Yiyuan showed that the call was successful

url2.PNGurl3.PNG

getexpressinfo: function(nu,cb ){

wx.request({

url: ' http://route.showapi.com/64-19?showapi_appid=64766&showapi_sign=dd5102d2fd0b4142b0fab055a6bbf6b1&com=ems&nu='+nu, // For example only, not the real interface address

data: {

x: '',

y: ''

},

//header: {

//'showapi_sign': '698d51a19d8a121ce581499d7b701668' //Default value

// },

success: function (res) {

console.log(res.data)

//cb(res.data)

}

})


},


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template