add eslint

This commit is contained in:
binaryify
2019-08-16 10:57:31 +08:00
parent 629533e674
commit b98d611989
143 changed files with 1166 additions and 1125 deletions

View File

@ -2,14 +2,14 @@
module.exports = (query, request) => {
const data = {
type: query.type || "song", // song,playlist,mv,djprogramdjradio
msg: query.msg || "",
id: query.id || ""
type: query.type || 'song', // song,playlist,mv,djprogramdjradio
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 }
);
};