課程
/前端開發
/小程序
/輕松入門微信小程序與云開發
老師您好,我按照您的教導做到調用云函數的時候編輯不會報錯,但是調用云函數顯示調用失敗
2019-08-30
源自:輕松入門微信小程序與云開發 4-3
正在回答
接口變了
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);
});
舉報
深入淺出微信小程序核心基礎與云開發,使你掌握小程序開發必備技能。
2 回答云函數調用失敗
1 回答云函數調用失敗
3 回答云函數調用失敗
3 回答云函數login調用失敗
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-08-30
接口變了
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);
});