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

@ -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}
)
}