mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-04 02:42:09 +08:00
chore: 修改一下
This commit is contained in:
parent
2b26021433
commit
5ad26f3e69
@ -11,23 +11,22 @@ const sources: Array<{
|
||||
name: 'ikun公益音源',
|
||||
disabled: false,
|
||||
supportQualitys: {
|
||||
kw: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
kg: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
tx: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
wy: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
mg: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'ikun_cf',
|
||||
name: 'ikun公益音源(美国Cloudflare节点)',
|
||||
disabled: false,
|
||||
supportQualitys: {
|
||||
kg: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
kw: ['128k', '320k', 'flac', 'flac24bit'],
|
||||
kg: ['128k', '320k', 'flac', 'flac24bit'],
|
||||
tx: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
wy: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
},
|
||||
},
|
||||
// {
|
||||
// id: 'ikun_cf',
|
||||
// name: 'ikun公益音源(美国Cloudflare节点)',
|
||||
// disabled: false,
|
||||
// supportQualitys: {
|
||||
// kg: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
// tx: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
// wy: ['128k', '320k', 'flac', 'flac24bit', 'master'],
|
||||
// },
|
||||
// },
|
||||
]
|
||||
|
||||
export default sources
|
||||
|
@ -3,10 +3,10 @@ import ikun_zj_api_kg from './kg/api-ikun'
|
||||
import ikun_zj_api_kw from './kw/api-ikun'
|
||||
import ikun_zj_api_tx from './tx/api-ikun'
|
||||
import ikun_zj_api_wy from './wy/api-ikun'
|
||||
import ikun_zj_api_mg from './mg/api-ikun'
|
||||
import ikun_cf_api_kg from './kg/api-ikun_us'
|
||||
import ikun_cf_api_tx from './tx/api-ikun_us'
|
||||
import ikun_cf_api_wy from './wy/api-ikun_us'
|
||||
// import ikun_zj_api_mg from './mg/api-ikun'
|
||||
// import ikun_cf_api_kg from './kg/api-ikun_us'
|
||||
// import ikun_cf_api_tx from './tx/api-ikun_us'
|
||||
// import ikun_cf_api_wy from './wy/api-ikun_us'
|
||||
import settingState from '@/store/setting/state'
|
||||
|
||||
|
||||
@ -15,10 +15,10 @@ const apiList = {
|
||||
ikun_zj_api_kw,
|
||||
ikun_zj_api_tx,
|
||||
ikun_zj_api_wy,
|
||||
ikun_zj_api_mg,
|
||||
ikun_cf_api_tx,
|
||||
ikun_cf_api_wy,
|
||||
ikun_cf_api_kg,
|
||||
// ikun_zj_api_mg,
|
||||
// ikun_cf_api_tx,
|
||||
// ikun_cf_api_wy,
|
||||
// ikun_cf_api_kg,
|
||||
}
|
||||
const supportQuality = {}
|
||||
|
||||
|
@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'
|
||||
|
||||
const api_ikun_zj = {
|
||||
getMusicUrl(songInfo, type) {
|
||||
const requestObj = httpFetch(`http://110.42.38.239:1314/url/kg/${songInfo._types[type].hash}/${type}`, {
|
||||
const requestObj = httpFetch(`https://lxmusic.ikunshare.com/url/kg/${songInfo._types[type].hash}/${type}`, {
|
||||
method: 'get',
|
||||
timeout,
|
||||
headers,
|
||||
|
@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'
|
||||
|
||||
const api_ikun_zj = {
|
||||
getMusicUrl(songInfo, type) {
|
||||
const requestObj = httpFetch(`http://110.42.38.239:1314/url/kw/${songInfo.songmid}/${type}`, {
|
||||
const requestObj = httpFetch(`https://lxmusic.ikunshare.com/url/kw/${songInfo.songmid}/${type}`, {
|
||||
method: 'get',
|
||||
timeout,
|
||||
headers,
|
||||
|
@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'
|
||||
|
||||
const api_ikun_zj = {
|
||||
getMusicUrl(songInfo, type) {
|
||||
const requestObj = httpFetch(`http://110.42.38.239:1314/url/mg/${songInfo.copyrightId}/${type}`, {
|
||||
const requestObj = httpFetch(`https://lxmusic.ikunshare.com/url/mg/${songInfo.copyrightId}/${type}`, {
|
||||
method: 'get',
|
||||
timeout,
|
||||
headers,
|
||||
|
@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'
|
||||
|
||||
const api_ikun_zj = {
|
||||
getMusicUrl(songInfo, type) {
|
||||
const requestObj = httpFetch(`http://110.42.38.239:1314/url/tx/${songInfo.songmid}/${type}`, {
|
||||
const requestObj = httpFetch(`https://lxmusic.ikunshare.com/url/tx/${songInfo.songmid}/${type}`, {
|
||||
method: 'get',
|
||||
timeout,
|
||||
headers,
|
||||
|
@ -5,7 +5,7 @@ import { dnsLookup } from '../utils'
|
||||
|
||||
const api_ikun_zj = {
|
||||
getMusicUrl(songInfo, type) {
|
||||
const requestObj = httpFetch(`http://110.42.38.239:1314/url/wy/${songInfo.songmid}/${type}`, {
|
||||
const requestObj = httpFetch(`https://lxmusic.ikunshare.com/url/wy/${songInfo.songmid}/${type}`, {
|
||||
method: 'get',
|
||||
timeout,
|
||||
headers,
|
||||
|
Loading…
x
Reference in New Issue
Block a user