返回沒有subjects
為什么返回的內容里面沒有subjects
報錯:
SyntaxError: Unexpected token o in JSON at position 1
? ? at JSON.parse (<anonymous>)
為什么返回的內容里面沒有subjects
報錯:
SyntaxError: Unexpected token o in JSON at position 1
? ? at JSON.parse (<anonymous>)
2019-09-22
舉報
2019-09-22
豆瓣API有變化,需要在請求API的url后面跟一個apikey參數:
電影列表API:http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=0&count=10
電影詳情API:`http://api.douban.com/v2/movie/subject/${event.movieid}?apikey=0df993c66c0c636e29ecbb5344252a4a`
2019-09-22
我也有這個問題,求解答