mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 02:32:06 +08:00
add eslint
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
// 首页轮播图
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const type = {
|
||||
0: 'pc',
|
||||
1: 'android',
|
||||
2: 'iphone',
|
||||
3: 'ipad'
|
||||
}[query.type || 0] || 'pc';
|
||||
return request(
|
||||
'POST', `https://music.163.com/api/v2/banner/get`, {clientType: type},
|
||||
{crypto: 'linuxapi', proxy: query.proxy}
|
||||
)
|
||||
const type = {
|
||||
0: 'pc',
|
||||
1: 'android',
|
||||
2: 'iphone',
|
||||
3: 'ipad'
|
||||
}[query.type || 0] || 'pc';
|
||||
return request(
|
||||
'POST', `https://music.163.com/api/v2/banner/get`, {clientType: type},
|
||||
{crypto: 'linuxapi', proxy: query.proxy}
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user