mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
update url
This commit is contained in:
@@ -393,7 +393,7 @@ function renderCell(value: string | number) {
|
||||
}
|
||||
|
||||
async function updateSong() {
|
||||
await QueryPostAPI<SongsInfo>(SONG_API_URL + 'update', {
|
||||
await QueryPostAPI<SongsInfo>(SONG_API_URL() + 'update', {
|
||||
key: updateSongModel.value.key,
|
||||
song: updateSongModel.value,
|
||||
}).then((data) => {
|
||||
@@ -407,7 +407,7 @@ async function updateSong() {
|
||||
})
|
||||
}
|
||||
async function delSong(song: SongsInfo) {
|
||||
await QueryGetAPI<SongsInfo>(SONG_API_URL + 'del', {
|
||||
await QueryGetAPI<SongsInfo>(SONG_API_URL() + 'del', {
|
||||
key: song.key,
|
||||
}).then((data) => {
|
||||
if (data.code == 200) {
|
||||
|
||||
Reference in New Issue
Block a user