mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-06 22:52:07 +08:00
add eslint
This commit is contained in:
@ -2,14 +2,14 @@
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
type: query.type || "song", // song,playlist,mv,djprogram,djradio
|
||||
msg: query.msg || "",
|
||||
id: query.id || ""
|
||||
type: query.type || 'song', // song,playlist,mv,djprogram,djradio
|
||||
msg: query.msg || '',
|
||||
id: query.id || ''
|
||||
};
|
||||
return request(
|
||||
"POST",
|
||||
'POST',
|
||||
`http://music.163.com/weapi/share/friends/resource`,
|
||||
data,
|
||||
{ crypto: "weapi", cookie: query.cookie, proxy: query.proxy }
|
||||
{ crypto: 'weapi', cookie: query.cookie, proxy: query.proxy }
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user