mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 00:12:07 +08:00
v3.10.0 增加转发动态接口
This commit is contained in:
15
module/event_forward.js
Normal file
15
module/event_forward.js
Normal file
@ -0,0 +1,15 @@
|
||||
// 转发动态
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = "pc";
|
||||
const data = {
|
||||
forwards: query.forwards,
|
||||
id: query.evId,
|
||||
eventUserId: query.uid
|
||||
};
|
||||
return request("POST", `https://music.163.com/weapi/event/forward`, data, {
|
||||
crypto: "weapi",
|
||||
cookie: query.cookie,
|
||||
proxy: query.proxy
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user