diff --git a/src/utils/musicSdk/tx/musicSearch.js b/src/utils/musicSdk/tx/musicSearch.js index 7565369e..7528c388 100644 --- a/src/utils/musicSdk/tx/musicSearch.js +++ b/src/utils/musicSdk/tx/musicSearch.js @@ -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, diff --git a/src/utils/musicSdk/wy/musicDetail.js b/src/utils/musicSdk/wy/musicDetail.js index ba8d2aff..0102f29f 100644 --- a/src/utils/musicSdk/wy/musicDetail.js +++ b/src/utils/musicSdk/wy/musicDetail.js @@ -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 }) diff --git a/src/utils/musicSdk/wy/musicSearch.js b/src/utils/musicSdk/wy/musicSearch.js index 32024996..90e6cbaa 100644 --- a/src/utils/musicSdk/wy/musicSearch.js +++ b/src/utils/musicSdk/wy/musicSearch.js @@ -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 }) diff --git a/src/utils/musicSdk/wy/songList.js b/src/utils/musicSdk/wy/songList.js index acc1cc23..673c8926 100644 --- a/src/utils/musicSdk/wy/songList.js +++ b/src/utils/musicSdk/wy/songList.js @@ -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 })