mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-06 23:22:07 +08:00
修复潜在问题
This commit is contained in:
@ -32,8 +32,9 @@ export default {
|
|||||||
tagsUrl: 'https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=%7B%22tags%22%3A%7B%22method%22%3A%22get_all_categories%22%2C%22param%22%3A%7B%22qq%22%3A%22%22%7D%2C%22module%22%3A%22playlist.PlaylistAllCategoriesServer%22%7D%7D',
|
tagsUrl: 'https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=%7B%22tags%22%3A%7B%22method%22%3A%22get_all_categories%22%2C%22param%22%3A%7B%22qq%22%3A%22%22%7D%2C%22module%22%3A%22playlist.PlaylistAllCategoriesServer%22%7D%7D',
|
||||||
hotTagUrl: 'https://c.y.qq.com/node/pc/wk_v15/category_playlist.html',
|
hotTagUrl: 'https://c.y.qq.com/node/pc/wk_v15/category_playlist.html',
|
||||||
getListUrl(sortId, id, page) {
|
getListUrl(sortId, id, page) {
|
||||||
return id
|
if (id) {
|
||||||
? `https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=${encodeURIComponent(JSON.stringify({
|
id = parseInt(id)
|
||||||
|
return `https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=${encodeURIComponent(JSON.stringify({
|
||||||
comm: { cv: 1602, ct: 20 },
|
comm: { cv: 1602, ct: 20 },
|
||||||
playlist: {
|
playlist: {
|
||||||
method: 'get_category_content',
|
method: 'get_category_content',
|
||||||
@ -48,7 +49,8 @@ export default {
|
|||||||
module: 'playlist.PlayListCategoryServer',
|
module: 'playlist.PlayListCategoryServer',
|
||||||
},
|
},
|
||||||
}))}`
|
}))}`
|
||||||
: `https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=${encodeURIComponent(JSON.stringify({
|
}
|
||||||
|
return `https://u.y.qq.com/cgi-bin/musicu.fcg?loginUin=0&hostUin=0&format=json&inCharset=utf-8&outCharset=utf-8¬ice=0&platform=wk_v15.json&needNewCode=0&data=${encodeURIComponent(JSON.stringify({
|
||||||
comm: { cv: 1602, ct: 20 },
|
comm: { cv: 1602, ct: 20 },
|
||||||
playlist: {
|
playlist: {
|
||||||
method: 'get_playlist_by_tag',
|
method: 'get_playlist_by_tag',
|
||||||
|
Reference in New Issue
Block a user