feat: realIP option

This commit is contained in:
a632079
2020-08-05 02:07:37 +08:00
parent 31d7e3941e
commit 9bd30a0ffb
178 changed files with 1734 additions and 906 deletions
+11 -4
View File
@@ -5,10 +5,17 @@ module.exports = (query, request) => {
offset: query.offset || 0,
total: true,
area: query.area || 'ALL', //ALL:全部,ZH:华语,EA:欧美,KR:韩国,JP:日本
type: query.type
type: query.type,
}
return request(
'POST', `https://music.163.com/weapi/vipmall/albumproduct/list`, data,
{crypto: 'weapi', cookie: query.cookie, proxy: query.proxy}
'POST',
`https://music.163.com/weapi/vipmall/albumproduct/list`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
}
)
}
}