mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
17 lines
434 B
JavaScript
17 lines
434 B
JavaScript
// 转发动态
|
|
|
|
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}
|
|
)
|
|
} |