mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
update url, improve queue and songrequest
This commit is contained in:
@@ -104,7 +104,7 @@ const props = defineProps<{
|
||||
|
||||
async function getUsers() {
|
||||
try {
|
||||
const data = await QueryGetAPI<UpdateLiveLotteryUsersModel>(LOTTERY_API_URL() + 'live/get-users', {
|
||||
const data = await QueryGetAPI<UpdateLiveLotteryUsersModel>(LOTTERY_API_URL + 'live/get-users', {
|
||||
code: props.code,
|
||||
})
|
||||
if (data.code == 200) {
|
||||
@@ -114,7 +114,7 @@ async function getUsers() {
|
||||
return null
|
||||
}
|
||||
function updateUsers() {
|
||||
QueryPostAPI(LOTTERY_API_URL() + 'live/update-users', {
|
||||
QueryPostAPI(LOTTERY_API_URL + 'live/update-users', {
|
||||
code: props.code,
|
||||
users: originUsers.value,
|
||||
resultUsers: resultUsers.value,
|
||||
|
||||
Reference in New Issue
Block a user