为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我返回的result:null?是因为豆瓣电影的API接口变化的原因吗?谢谢各位的解答~

 return rp(`http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=${event.start}&count=${event.count}`)

  .then(function (res) {

    console.log(res);

      return res;

  })

  .catch(function (err) {

      console.error(err);

  });


正在回答

1 回答

接口有更新,请看下这里: https://www.imooc.com/qadetail/348074

1 回复 有任何疑惑可以回复我~
#1

北漾

老师 我按照你的链接里的更改了 还是null
2020-09-02 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

为什么我返回的result:null?是因为豆瓣电影的API接口变化的原因吗?谢谢各位的解答~

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号