From adf9ae21d1e0d81194d823e539c57d04745d02ff Mon Sep 17 00:00:00 2001 From: Nzix Date: Fri, 27 Jul 2018 00:17:50 +0800 Subject: [PATCH] support inital index for artist list --- router/artist_list.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/router/artist_list.js b/router/artist_list.js index 0c90a61..27e2515 100644 --- a/router/artist_list.js +++ b/router/artist_list.js @@ -22,11 +22,14 @@ module.exports = (req, res, createWebAPIRequest, request) => { // 其他女歌手 4002 // 其他组合/乐队 4003 + // initial 取值A为65,B为66...以此类推 + const data = { categoryCode: req.query.cat || "1001", offset: req.query.offset || 0, total: req.query.total ? "true" : "false", - limit: req.query.limit || 30 + limit: req.query.limit || 30, + initial: req.query.initial || "" }; createWebAPIRequest( "music.163.com",