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

View File

@ -4,12 +4,17 @@ module.exports = (query, request) => {
const data = {
type: query.type || 'song', // song,playlist,mv,djprogramdjradio
msg: query.msg || '',
id: query.id || ''
};
id: query.id || '',
}
return request(
'POST',
`http://music.163.com/weapi/share/friends/resource`,
data,
{ crypto: 'weapi', cookie: query.cookie, proxy: query.proxy }
);
};
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
}
)
}