|
|
@ -14,13 +14,13 @@ export const metadata: Metadata = { title: '雀乐期刊' };
|
|
|
|
|
|
|
|
|
|
|
|
// 获取期刊信息
|
|
|
|
// 获取期刊信息
|
|
|
|
async function getJournalInfo(journalId: string) {
|
|
|
|
async function getJournalInfo(journalId: string) {
|
|
|
|
const res = await fetch(`http://39.103.180.196:9012/luoo-music/journal/${journalId}`);
|
|
|
|
const res = await fetch(`http://api.indie.cn:9012/luoo-music/journal/${journalId}`);
|
|
|
|
return res.json();
|
|
|
|
return res.json();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 获取期刊歌曲列表
|
|
|
|
// 获取期刊歌曲列表
|
|
|
|
async function getSongList(journalId: string) {
|
|
|
|
async function getSongList(journalId: string) {
|
|
|
|
const res = await fetch(`http://39.103.180.196:9012/luoo-music/song/journalId/${journalId}`);
|
|
|
|
const res = await fetch(`http://api.indie.cn:9012/luoo-music/song/journalId/${journalId}`);
|
|
|
|
return res.json();
|
|
|
|
return res.json();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|