mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-05 21:58:56 +08:00
修复潜在问题
This commit is contained in:
parent
1ecfc02e72
commit
9f8787e5a8
@ -32,23 +32,25 @@ 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)
|
||||||
comm: { cv: 1602, ct: 20 },
|
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({
|
||||||
playlist: {
|
comm: { cv: 1602, ct: 20 },
|
||||||
method: 'get_category_content',
|
playlist: {
|
||||||
param: {
|
method: 'get_category_content',
|
||||||
titleid: id,
|
param: {
|
||||||
caller: '0',
|
titleid: id,
|
||||||
category_id: id,
|
caller: '0',
|
||||||
size: this.limit_list,
|
category_id: id,
|
||||||
page: page - 1,
|
size: this.limit_list,
|
||||||
use_page: 1,
|
page: page - 1,
|
||||||
},
|
use_page: 1,
|
||||||
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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user