mirror of
https://git.fightbot.fun/hxuanyu/BingPaper.git
synced 2026-02-15 08:49:33 +08:00
国家地区接口优化
This commit is contained in:
23
docs/docs.go
23
docs/docs.go
@@ -675,6 +675,29 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/images/global/today": {
|
||||
"get": {
|
||||
"description": "获取配置文件中所有已开启地区的今日必应图片元数据(缩略图)",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"image"
|
||||
],
|
||||
"summary": "获取所有地区的今日图片列表",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/handlers.ImageMetaResp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/regions": {
|
||||
"get": {
|
||||
"description": "返回系统支持的所有必应地区编码及标签。如果配置中指定了抓取地区,这些地区将排在列表最前面(置顶)。",
|
||||
|
||||
@@ -669,6 +669,29 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/images/global/today": {
|
||||
"get": {
|
||||
"description": "获取配置文件中所有已开启地区的今日必应图片元数据(缩略图)",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"image"
|
||||
],
|
||||
"summary": "获取所有地区的今日图片列表",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/handlers.ImageMetaResp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/regions": {
|
||||
"get": {
|
||||
"description": "返回系统支持的所有必应地区编码及标签。如果配置中指定了抓取地区,这些地区将排在列表最前面(置顶)。",
|
||||
|
||||
@@ -700,6 +700,21 @@ paths:
|
||||
summary: 获取图片列表
|
||||
tags:
|
||||
- image
|
||||
/images/global/today:
|
||||
get:
|
||||
description: 获取配置文件中所有已开启地区的今日必应图片元数据(缩略图)
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/definitions/handlers.ImageMetaResp'
|
||||
type: array
|
||||
summary: 获取所有地区的今日图片列表
|
||||
tags:
|
||||
- image
|
||||
/regions:
|
||||
get:
|
||||
description: 返回系统支持的所有必应地区编码及标签。如果配置中指定了抓取地区,这些地区将排在列表最前面(置顶)。
|
||||
|
||||
Reference in New Issue
Block a user