Add sign status for Lagrange.Core

This commit is contained in:
2024-05-11 00:16:38 +08:00
parent 75a4d1fdcb
commit 205b69e5cb
12 changed files with 133 additions and 23 deletions

View File

@ -1,3 +1,5 @@
import aiohttp
from .qw_models import *
import httpx
@ -27,7 +29,7 @@ async def check_key_dev(key: str) -> bool:
}
async with httpx.AsyncClient() as client:
resp = await client.get(url, params=params)
return resp.json().get("code") != "200" # 查询不到付费数据为开发版
return (resp.json()).get("code") != "200" # 查询不到付费数据为开发版
def get_local_data(ulang_code: str) -> dict: