feat: Implement dispatch encryption

This commit is contained in:
Naruse
2024-11-08 11:13:11 +08:00
parent 1928801460
commit a6d3b24387
8 changed files with 172 additions and 129 deletions

View File

@@ -1,13 +1,12 @@
# sdkserver/models/granter_login_body.py
from pydantic import BaseModel
from typing import Optional
class GranterLoginBodyData(BaseModel):
uid: str
guest: bool
token: str
class GranterLoginBody(BaseModel):
app_id: int
channel_id: int

View File

@@ -1,13 +1,13 @@
# sdkserver/models/risky_check.py
from pydantic import BaseModel
from typing import Optional
class DataScheme(BaseModel):
id: str
action: str
geetest: Optional[object]
class RiskyCheck(BaseModel):
retcode: int
message: str

View File

@@ -1,5 +1,6 @@
from pydantic import BaseModel
class ShieldVerifyBody(BaseModel):
token: str
uid: str
uid: str