movie.js里访问豆瓣API403(基地址已经修改为了http://t.yushu.im)
来源:20-12 获取正在热映、即将上映和Top250的数据
 
			weibo_凑合的曾小理_0
2019-04-08
App({
  globalData:{
    g_isPlayingMusic:false,
    g_currentMusicPostId: null,
    doubanBase:"http://t.yushu.im"
  }
})
Page({
  onLoad:function(event){
    wx.request({
      url: 'https://api.douban.com/v2/movie/top250',
      data:{},
      method:'GET',
      header:{
        "Content-Type":""
      },
      success:function(res){
        console.log(res);
      },
      fail:function(){
        console.log("请求失败");
      }
    })
  }
})
写回答
	1回答
- 
				  7七月 2019-04-08 麻烦给一下错误的具体提示信息。network里的 信息。 032019-07-04
相似问题
