update url, improve queue and songrequest

This commit is contained in:
2023-12-15 16:29:08 +08:00
parent 82a0e72122
commit c530c3b126
36 changed files with 411 additions and 141 deletions

View File

@@ -14,22 +14,22 @@ export const FETCH_API = 'https://fetch.vtsuru.live/'
export const TURNSTILE_KEY = '0x4AAAAAAAETUSAKbds019h0'
export const USER_API_URL = () => `${BASE_API()}user/`
export const ACCOUNT_API_URL = () => `${BASE_API()}account/`
export const BILI_API_URL = () => `${BASE_API()}bili/`
export const SONG_API_URL = () => `${BASE_API()}song-list/`
export const NOTIFACTION_API_URL = () => `${BASE_API()}notifaction/`
export const QUESTION_API_URL = () => `${BASE_API()}qa/`
export const LOTTERY_API_URL = () => `${BASE_API()}lottery/`
export const HISTORY_API_URL = () => `${BASE_API()}history/`
export const SCHEDULE_API_URL = () => `${BASE_API()}schedule/`
export const VIDEO_COLLECT_API_URL = () => `${BASE_API()}video-collect/`
export const OPEN_LIVE_API_URL = () => `${BASE_API()}open-live/`
export const SONG_REQUEST_API_URL = () => `${BASE_API()}song-request/`
export const QUEUE_API_URL = () => `${BASE_API()}queue/`
export const EVENT_API_URL = () => `${BASE_API()}event/`
export const LIVE_API_URL = () => `${BASE_API()}live/`
export const FEEDBACK_API_URL = () => `${BASE_API()}feedback/`
export const USER_API_URL = { toString: () => `${BASE_API()}user/` }
export const ACCOUNT_API_URL = { toString: () => `${BASE_API()}account/` }
export const BILI_API_URL = { toString: () => `${BASE_API()}bili/` }
export const SONG_API_URL = { toString: () => `${BASE_API()}song-list/` }
export const NOTIFACTION_API_URL = { toString: () => `${BASE_API()}notifaction/` }
export const QUESTION_API_URL = { toString: () => `${BASE_API()}qa/` }
export const LOTTERY_API_URL = { toString: () => `${BASE_API()}lottery/` }
export const HISTORY_API_URL = { toString: () => `${BASE_API()}history/` }
export const SCHEDULE_API_URL = { toString: () => `${BASE_API()}schedule/` }
export const VIDEO_COLLECT_API_URL = { toString: () => `${BASE_API()}video-collect/` }
export const OPEN_LIVE_API_URL = { toString: () => `${BASE_API()}open-live/` }
export const SONG_REQUEST_API_URL = { toString: () => `${BASE_API()}song-request/` }
export const QUEUE_API_URL = { toString: () => `${BASE_API()}queue/` }
export const EVENT_API_URL = { toString: () => `${BASE_API()}event/` }
export const LIVE_API_URL = { toString: () => `${BASE_API()}live/` }
export const FEEDBACK_API_URL = { toString: () => `${BASE_API()}feedback/` }
export const ScheduleTemplateMap = {
'': { name: '默认', compoent: defineAsyncComponent(() => import('@/views/view/scheduleTemplate/DefaultScheduleTemplate.vue')) },