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,
offset: query.offset || 0,
}
return request(
'POST',
`https://music.163.com/weapi/artist/fans/get`,
data,
{
return request('POST', `https://music.163.com/weapi/artist/fans/get`, data, {
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
})
}

View File

@ -15,5 +15,4 @@ module.exports = (query, request) => {
realIP: query.realIP,
},
)
}
}

View File

@ -15,5 +15,4 @@ module.exports = (query, request) => {
realIP: query.realIP,
},
)
}
}

View File

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

View File

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

View File

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

View File

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

View File

@ -13,5 +13,4 @@ module.exports = (query, request) => {
realIP: query.realIP,
},
)
}
}