添加 VIP 信息接口

This commit is contained in:
WooMai
2021-07-06 20:18:07 +08:00
parent 1cdc09226f
commit 7f644bf61f
4 changed files with 25 additions and 0 deletions

15
module/vip_info.js Normal file
View File

@ -0,0 +1,15 @@
// 获取 VIP 信息
module.exports = (query, request) => {
return request(
'POST',
`https://music.163.com/weapi/music-vip-membership/front/vip/info`,
{},
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}