Merge pull request #75 from imsyy/master

去除新春灯笼 & 临时更换 api
This commit is contained in:
底层用户 2023-02-06 13:35:04 +08:00 committed by GitHub
commit cee5a05de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

3
.env
View File

@ -26,7 +26,8 @@ VITE_SITE_START = "2020-10-24"
# 歌曲 API 地址
## 备用https://api.wuenci.com/meting/api/
VITE_SONG_API = "https://api-meting.imsyy.top"
VITE_SONG_API = "https://api.wuenci.com/meting/api/"
# VITE_SONG_API = "https://api-meting.imsyy.top/api"
# 歌曲服务器 ( netease-网易云, tencent-qq音乐 )
VITE_SONG_SERVER = "netease"
# 播放类型 ( song-歌曲, playlist-播放列表, album-专辑, search-搜索, artist-艺术家 )

View File

@ -43,7 +43,7 @@ import MoreSet from "@/views/MoreSet/index.vue";
import cursorInit from "@/utils/cursor.js";
import config from "@/../package.json";
//
import "@/utils/lantern.js";
// import "@/utils/lantern.js";
const store = mainStore();

View File

@ -6,7 +6,7 @@
// 获取音乐播放列表
export const getPlayerList = async (server, type, id) => {
const res = await fetch(`${import.meta.env.VITE_SONG_API}/?server=${server}&type=${type}&id=${id}`);
const res = await fetch(`${import.meta.env.VITE_SONG_API}?server=${server}&type=${type}&id=${id}`);
return await res.json();
}