Completely followed the video step by step, but used Yiyuan's API. Yiyuan showed that the call was successful
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
Completely followed the video step by step, but used Yiyuan's API. Yiyuan showed that the call was successful
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)
}
})
},