v3.10.0 增加转发动态接口

This commit is contained in:
binaryify
2019-05-08 12:03:11 +08:00
parent 26b5cad8d5
commit 634a8a856b
6 changed files with 39 additions and 19 deletions

15
module/event_forward.js Normal file
View 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
});
};