mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
chore: remove netease api code from repo
This commit is contained in:
parent
e1f1d18aa4
commit
4bce2c7071
228 changed files with 1 additions and 20219 deletions
|
|
@ -1,27 +0,0 @@
|
|||
// 购买数字专辑
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
business: 'Album',
|
||||
paymentMethod: query.payment,
|
||||
digitalResources: JSON.stringify([
|
||||
{
|
||||
business: 'Album',
|
||||
resourceID: query.id,
|
||||
quantity: query.quantity,
|
||||
},
|
||||
]),
|
||||
from: 'web',
|
||||
};
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/api/ordering/web/digital`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy,
|
||||
realIP: query.realIP,
|
||||
},
|
||||
);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue