mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
perf: Internationalization of xpack-related APIs
This commit is contained in:
committed by
fit2cloud-chenyw
parent
87596aac6a
commit
08cc52c23a
@@ -62,6 +62,14 @@ tags_metadata = [
|
||||
"name": "system_assistant",
|
||||
"description": f"{PLACEHOLDER_PREFIX}system_assistant_api"
|
||||
},
|
||||
{
|
||||
"name": "system_embedded",
|
||||
"description": f"{PLACEHOLDER_PREFIX}system_embedded_api"
|
||||
},
|
||||
{
|
||||
"name": "system_authentication",
|
||||
"description": f"{PLACEHOLDER_PREFIX}system_authentication_api"
|
||||
},
|
||||
{ "name": "Table Relation",
|
||||
"description": f"{PLACEHOLDER_PREFIX}tr_api"
|
||||
},
|
||||
|
||||
@@ -101,6 +101,14 @@
|
||||
"assistant_type": "Assistant Type (0: Basic, 1: Advanced, 4: Page)",
|
||||
"assistant_configuration": "Configuration",
|
||||
"assistant_description": "Description",
|
||||
|
||||
"system_embedded_api": "Page Embedded API",
|
||||
"embedded_resetsecret_api": "Reset Secret",
|
||||
|
||||
"system_authentication_api": "Authentication Settings API",
|
||||
"authentication_enable_api": "Enable Authentication",
|
||||
"authentication_status_api": "Get Authentication Status",
|
||||
"authentication_validate_api": "Validate Authentication",
|
||||
|
||||
"per_api": "Data Permission",
|
||||
"per_save": "Save Permission",
|
||||
|
||||
@@ -102,6 +102,14 @@
|
||||
"assistant_configuration": "配置",
|
||||
"assistant_description": "描述",
|
||||
|
||||
"system_embedded_api": "页面嵌入式api",
|
||||
"embedded_resetsecret_api": "重置 Secret",
|
||||
|
||||
"system_authentication_api": "认证设置api",
|
||||
"authentication_enable_api": "设置开启",
|
||||
"authentication_status_api": "查询状态",
|
||||
"authentication_validate_api": "校验状态",
|
||||
|
||||
"per_api": "数据权限",
|
||||
"per_save": "保存权限",
|
||||
"per_delete": "删除权限",
|
||||
|
||||
@@ -7,7 +7,7 @@ from apps.system.crud.parameter_manage import get_groups, get_parameter_args, sa
|
||||
from apps.system.schemas.permission import SqlbotPermission, require_permissions
|
||||
from common.core.deps import SessionDep
|
||||
|
||||
router = APIRouter(tags=["system/parameter"], prefix="/system/parameter")
|
||||
router = APIRouter(tags=["system/parameter"], prefix="/system/parameter", include_in_schema=False)
|
||||
|
||||
@router.get("/login")
|
||||
async def get_login_args(session: SessionDep) -> list[SysArgModel]:
|
||||
|
||||
Reference in New Issue
Block a user