chore: 修改一下

This commit is contained in:
ikun0014 2024-10-19 12:27:39 +08:00
parent 2b26021433
commit 5ad26f3e69
No known key found for this signature in database
GPG Key ID: CB646D33779F3C89
7 changed files with 25 additions and 26 deletions

View File

@ -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

View File

@ -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 = {}

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,

View File

@ -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,