feat(heartbeat): emit heartbeat event to SQLite
This commit is contained in:
@@ -13,6 +13,7 @@ router = APIRouter(tags=["monitor"])
|
||||
class HeartbeatRequest(BaseModel):
|
||||
account_id: str = Field(..., description="渠道账号唯一标识")
|
||||
account_name: str | None = Field(None)
|
||||
tenant_code: str = Field("default", description="业务系统租户编码")
|
||||
risk_level: int = Field(0, ge=0, le=100)
|
||||
sent_count_today: int = Field(0, ge=0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user