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

调用云函数movielist失败

老师您好,我按照您的教导做到调用云函数的时候编辑不会报错,但是调用云函数显示调用失败

https://img1.sycdn.imooc.com//5d68d6d20001c2be08650360.jpghttps://img1.sycdn.imooc.com//5d68d6fc00017b2612550343.jpg

正在回答

1 回答

接口变了

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);

});


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
轻松入门微信小程序与云开发
  • 参与学习       64472    人
  • 解答问题       1740    个

深入浅出微信小程序核心基础与云开发,使你掌握小程序开发必备技能。

进入课程

调用云函数movielist失败

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信