All checks were successful
continuous-integration/drone/push Build is passing
- 新增 platform_tool_configs 表和 ToolConfig Model - 新增工具配置 CRUD API (/api/tool-configs) - 租户详情页添加工具配置管理 Tab - 修复查看 Token 显示问题,添加专用获取接口
29 lines
695 B
Python
29 lines
695 B
Python
"""数据模型"""
|
|
from .tenant import Tenant, Subscription, Config
|
|
from .tenant_app import TenantApp
|
|
from .tenant_wechat_app import TenantWechatApp
|
|
from .tool_config import ToolConfig
|
|
from .app import App
|
|
from .stats import AICallEvent, TenantUsageDaily
|
|
from .logs import PlatformLog
|
|
from .alert import AlertRule, AlertRecord, NotificationChannel
|
|
from .pricing import ModelPricing, TenantBilling
|
|
|
|
__all__ = [
|
|
"Tenant",
|
|
"Subscription",
|
|
"Config",
|
|
"TenantApp",
|
|
"TenantWechatApp",
|
|
"ToolConfig",
|
|
"App",
|
|
"AICallEvent",
|
|
"TenantUsageDaily",
|
|
"PlatformLog",
|
|
"AlertRule",
|
|
"AlertRecord",
|
|
"NotificationChannel",
|
|
"ModelPricing",
|
|
"TenantBilling"
|
|
]
|