return rp(`http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=${event.start}&count=${event.count}`)
.then(res => {
console.log(res);
return res;
}).catch(err => {
console.log(err)
})
如果是个post请求怎么发?
多看手册,https://github.com/request/request-promise