refactor(openflare): remove unused About page and API

Delete AboutService and GET /api/v1/d/about since the about page was
never implemented in the Wavelet frontend.
This commit is contained in:
ryan
2026-06-19 11:17:57 +08:00
parent 42ca0ec642
commit 8fb988ba0a
11 changed files with 2 additions and 159 deletions
-44
View File
@@ -3528,50 +3528,6 @@ const docTemplate = `{
}
}
},
"/api/v1/d/about": {
"get": {
"description": "返回 OpenFlare 关于页面文本,无需登录",
"produces": [
"application/json"
],
"tags": [
"openflare-option"
],
"summary": "获取关于信息",
"responses": {
"200": {
"description": "关于信息",
"schema": {
"allOf": [
{
"$ref": "#/definitions/response.Any"
},
{
"type": "object",
"properties": {
"data": {
"type": "string"
}
}
}
]
}
},
"400": {
"description": "参数错误",
"schema": {
"$ref": "#/definitions/response.Any"
}
},
"500": {
"description": "内部错误",
"schema": {
"$ref": "#/definitions/response.Any"
}
}
}
}
},
"/api/v1/d/access-logs": {
"get": {
"security": [
-44
View File
@@ -3521,50 +3521,6 @@
}
}
},
"/api/v1/d/about": {
"get": {
"description": "返回 OpenFlare 关于页面文本,无需登录",
"produces": [
"application/json"
],
"tags": [
"openflare-option"
],
"summary": "获取关于信息",
"responses": {
"200": {
"description": "关于信息",
"schema": {
"allOf": [
{
"$ref": "#/definitions/response.Any"
},
{
"type": "object",
"properties": {
"data": {
"type": "string"
}
}
}
]
}
},
"400": {
"description": "参数错误",
"schema": {
"$ref": "#/definitions/response.Any"
}
},
"500": {
"description": "内部错误",
"schema": {
"$ref": "#/definitions/response.Any"
}
}
}
}
},
"/api/v1/d/access-logs": {
"get": {
"security": [
-26
View File
@@ -5169,32 +5169,6 @@ paths:
summary: Sample Hello API
tags:
- custom
/api/v1/d/about:
get:
description: 返回 OpenFlare 关于页面文本,无需登录
produces:
- application/json
responses:
"200":
description: 关于信息
schema:
allOf:
- $ref: '#/definitions/response.Any'
- properties:
data:
type: string
type: object
"400":
description: 参数错误
schema:
$ref: '#/definitions/response.Any'
"500":
description: 内部错误
schema:
$ref: '#/definitions/response.Any'
summary: 获取关于信息
tags:
- openflare-option
/api/v1/d/access-logs:
get:
description: 分页返回 OpenFlare 访问日志,支持按节点、IP、主机与路径筛选,需要管理员权限