mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-05-23 22:37:41 +08:00
feat: 网易云母带搜索
This commit is contained in:
parent
b471a10e2c
commit
d582f2d3e6
@ -25,12 +25,12 @@ export default {
|
||||
os_ver: '12',
|
||||
phonetype: '0',
|
||||
devicelevel: '31',
|
||||
tmeAppID: 'qqmusiclight',
|
||||
tmeAppID: 'qqmusic',
|
||||
nettype: 'NETWORK_WIFI',
|
||||
},
|
||||
req: {
|
||||
module: 'music.search.SearchCgiService',
|
||||
method: 'DoSearchForQQMusicLite',
|
||||
method: 'DoSearchForQQMusicDesktop',
|
||||
param: {
|
||||
query: str,
|
||||
search_type: 0,
|
||||
|
@ -22,6 +22,10 @@ export default {
|
||||
if (privilege.id !== item.id) privilege = privileges.find(p => p.id === item.id)
|
||||
if (!privilege) return
|
||||
|
||||
if (privilege.chargeInfoList.length > 4 && privilege.chargeInfoList[4].rate == 1999000 && privilege.chargeInfoList[4].chargeType == 1) {
|
||||
types.push({ type: 'master' })
|
||||
_types.master = {}
|
||||
}
|
||||
if (privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
|
@ -34,6 +34,10 @@ export default {
|
||||
const _types = {}
|
||||
let size
|
||||
|
||||
if (item.privilege.chargeInfoList.length > 4 && item.privilege.chargeInfoList[4].rate == 1999000 && item.privilege.chargeInfoList[4].chargeType == 1) {
|
||||
types.push({ type: 'master' })
|
||||
_types.master = {}
|
||||
}
|
||||
if (item.privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
|
@ -137,6 +137,10 @@ export default {
|
||||
if (privilege.id !== item.id) privilege = privileges.find(p => p.id === item.id)
|
||||
if (!privilege) return
|
||||
|
||||
if (privilege.chargeInfoList.length > 4 && privilege.chargeInfoList[4].rate == 1999000 && privilege.chargeInfoList[4].chargeType == 1) {
|
||||
types.push({ type: 'master' })
|
||||
_types.master = {}
|
||||
}
|
||||
if (privilege.maxBrLevel == 'hires') {
|
||||
size = item.hr ? sizeFormate(item.hr.size) : null
|
||||
types.push({ type: 'flac24bit', size })
|
||||
|
Loading…
x
Reference in New Issue
Block a user