This commit is contained in:
binaryify 2017-04-29 22:38:53 +08:00
parent 5d5e26f685
commit 345561af59

View File

@ -740,10 +740,10 @@ $ set PORT=4000 && node app.js
`order`: 可选值为 'new' 和 'hot',分别对应最新和最热,默认为 'hot' `order`: 可选值为 'new' 和 'hot',分别对应最新和最热,默认为 'hot'
**接口地址:** **接口地址:**
`/top_playlist` `/top/playlist`
**调用例子:** **调用例子:**
`/top_playlist?limit=10&order=new` `/top/playlist?limit=10&order=new`
返回数据如下图: 返回数据如下图:
@ -776,10 +776,10 @@ $ set PORT=4000 && node app.js
`offset`: 偏移数量,用于分页,如:(页数-1)*50, 其中 50 为 limit 的值,默认为0 `offset`: 偏移数量,用于分页,如:(页数-1)*50, 其中 50 为 limit 的值,默认为0
**接口地址:** **接口地址:**
`/top_artists` `/top/artists`
**调用例子:** **调用例子:**
`/top_artists?offset=0&limit=30` `/top/artists?offset=0&limit=30`
返回数据如下图: 返回数据如下图:
@ -934,10 +934,10 @@ $ set PORT=4000 && node app.js
``` ```
**接口地址:** **接口地址:**
`/top_list` `/top/list`
**调用例子:** **调用例子:**
`/top_list?idx=6` `/top/list?idx=6`
返回数据如下图: 返回数据如下图: