为什么wx.request失败?
loadMovie:function(){
var page=this;
wx.request({
url: ‘https://api.douban.com/v2/movie/coming_soon’,
header: {
‘content-type’: ‘application/json’
},
success: function (res) {
console.log(res.data);
var subjects=res.data.subjects;
page.setData({movies:subjects});
}
})
}