fix eslint error

This commit is contained in:
binaryify 2021-06-02 11:45:58 +08:00
parent 36e8573ac6
commit 35cfbbb2b6
8 changed files with 70 additions and 87 deletions

View File

@ -6,15 +6,10 @@ module.exports = (query, request) => {
limit: query.limit || 20, limit: query.limit || 20,
offset: query.offset || 0, offset: query.offset || 0,
} }
return request( return request('POST', `https://music.163.com/weapi/artist/fans/get`, data, {
'POST',
`https://music.163.com/weapi/artist/fans/get`,
data,
{
crypto: 'weapi', crypto: 'weapi',
cookie: query.cookie, cookie: query.cookie,
proxy: query.proxy, proxy: query.proxy,
realIP: query.realIP, realIP: query.realIP,
}, })
)
} }

View File

@ -16,4 +16,3 @@ module.exports = (query, request) => {
}, },
) )
} }

View File

@ -16,4 +16,3 @@ module.exports = (query, request) => {
}, },
) )
} }

View File

@ -2,16 +2,10 @@
module.exports = (query, request) => { module.exports = (query, request) => {
const data = {} const data = {}
return request( return request('POST', `https://music.163.com/weapi/cloudbean/get`, data, {
'POST',
`https://music.163.com/weapi/cloudbean/get`,
data,
{
crypto: 'weapi', crypto: 'weapi',
cookie: query.cookie, cookie: query.cookie,
proxy: query.proxy, proxy: query.proxy,
realIP: query.realIP, realIP: query.realIP,
}, })
)
} }

View File

@ -17,4 +17,3 @@ module.exports = (query, request) => {
}, },
) )
} }

View File

@ -14,4 +14,3 @@ module.exports = (query, request) => {
}, },
) )
} }

View File

@ -17,4 +17,3 @@ module.exports = (query, request) => {
}, },
) )
} }

View File

@ -14,4 +14,3 @@ module.exports = (query, request) => {
}, },
) )
} }