mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 16:52:10 +08:00
增加转发动态接口
This commit is contained in:
parent
34c92ddece
commit
0e8fa1b978
17
module/forward.js
Normal file
17
module/forward.js
Normal file
@ -0,0 +1,17 @@
|
||||
// ת·¢¶¯Ì¬
|
||||
|
||||
const crypto = require('crypto')
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'osx'
|
||||
const data = {
|
||||
forwards: query.forwards,
|
||||
id: query.id,
|
||||
eventUserId: query.eventUserId,
|
||||
checkToken:query.checkToken
|
||||
}
|
||||
return request(
|
||||
'POST', `https://music.163.com/weapi/event/forward`, data,
|
||||
{crypto: 'weapi', ua: 'pc', cookie: query.cookie, proxy: query.proxy}
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user