diff --git a/src/Util/comm.ts b/src/Util/comm.ts index c53635a..dad8f48 100644 --- a/src/Util/comm.ts +++ b/src/Util/comm.ts @@ -1,4 +1,4 @@ -import { copyToClipboard, QVueGlobals, useQuasar } from 'quasar' +import { copyToClipboard, QVueGlobals } from 'quasar' /** diff --git a/src/api/api.ts b/src/api/api.ts index 47434d5..cd5054c 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -1,7 +1,7 @@ import { api } from 'src/boot/axios'; class getdata { async get_server() { - return await api.get('https://api.giaogiao.uk/api.php?type=list'); + return await api.get('https://api.giaogiao.uk/server/getlist'); } async text_server(url: string) { const res = await api.post( @@ -13,7 +13,7 @@ class getdata { return tmp } async get_country(ip: string) { - let res = await api.post('https://api.giaogiao.uk/api.php?type=searchip', { + let res = await api.post('https://api.giaogiao.uk/server/searchip', { ip, }); res = res.data.country