添加站点 Logo 配置支持,更新配置结构及 Swagger 文档

This commit is contained in:
2026-01-14 16:46:13 +08:00
parent 79113d5a16
commit f0c8133cb0
6 changed files with 14 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
| :--- | :--- | :--- | :--- |
| `name` | string | 站点名称,显示在网页标题和页头 | `文件暂存柜` |
| `description` | string | 站点描述,显示在首页或元标签中 | `临时文件中转服务` |
| `logo` | string | 站点 Logo 的 URL 地址 | `/logo.png` |
## 2. 安全设置 (security)
涉及系统鉴权、取件保护相关的核心安全配置。

View File

@@ -1093,6 +1093,10 @@ const docTemplate = `{
"description": "站点描述",
"type": "string"
},
"logo": {
"description": "站点 Logo URL",
"type": "string"
},
"name": {
"description": "站点名称",
"type": "string"

View File

@@ -1086,6 +1086,10 @@
"description": "站点描述",
"type": "string"
},
"logo": {
"description": "站点 Logo URL",
"type": "string"
},
"name": {
"description": "站点名称",
"type": "string"

View File

@@ -124,6 +124,9 @@ definitions:
description:
description: 站点描述
type: string
logo:
description: 站点 Logo URL
type: string
name:
description: 站点名称
type: string