增加服务器测试是否在线

This commit is contained in:
lingling 2023-03-19 23:18:09 +08:00
parent b68536afef
commit ec57506803
1 changed files with 3 additions and 0 deletions

View File

@ -3,5 +3,8 @@ class getdata {
async get_server() { async get_server() {
return await api.get('https://api.shagain.club/api.php?type=list'); return await api.get('https://api.shagain.club/api.php?type=list');
} }
async text_server() {
return await api.get('https://api.shagain.club/api.php?type=list');
}
} }
export { getdata }; export { getdata };