接口参数调整

This commit is contained in:
ryan
2026-06-11 15:32:44 +08:00
parent ad97ca7df1
commit 6b93320404
10 changed files with 86 additions and 83 deletions
+4 -16
View File
@@ -3618,14 +3618,8 @@ const docTemplate = `{
},
{
"type": "string",
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
"name": "compress",
"in": "query"
},
{
"type": "string",
"description": "压缩质量等级 (low, medium, high),默认为 high",
"name": "level",
"description": "图片质量 (low, medium, high, origin),默认为 origin",
"name": "quality",
"in": "query"
}
],
@@ -4404,14 +4398,8 @@ const docTemplate = `{
},
{
"type": "string",
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
"name": "compress",
"in": "query"
},
{
"type": "string",
"description": "压缩质量等级 (low, medium, high),默认为 high",
"name": "level",
"description": "图片质量 (low, medium, high, origin),默认为 origin",
"name": "quality",
"in": "query"
}
],
+4 -16
View File
@@ -3611,14 +3611,8 @@
},
{
"type": "string",
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
"name": "compress",
"in": "query"
},
{
"type": "string",
"description": "压缩质量等级 (low, medium, high),默认为 high",
"name": "level",
"description": "图片质量 (low, medium, high, origin),默认为 origin",
"name": "quality",
"in": "query"
}
],
@@ -4397,14 +4391,8 @@
},
{
"type": "string",
"description": "是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)",
"name": "compress",
"in": "query"
},
{
"type": "string",
"description": "压缩质量等级 (low, medium, high),默认为 high",
"name": "level",
"description": "图片质量 (low, medium, high, origin),默认为 origin",
"name": "quality",
"in": "query"
}
],
+4 -12
View File
@@ -3195,13 +3195,9 @@ paths:
name: id
required: true
type: string
- description: 是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)
- description: 图片质量 (low, medium, high, origin),默认为 origin
in: query
name: compress
type: string
- description: 压缩质量等级 (low, medium, high),默认为 high
in: query
name: level
name: quality
type: string
produces:
- application/octet-stream
@@ -3669,13 +3665,9 @@ paths:
name: id
required: true
type: string
- description: 是否启用压缩 (传任意非空值代表启用,非图片文件将被忽略)
- description: 图片质量 (low, medium, high, origin),默认为 origin
in: query
name: compress
type: string
- description: 压缩质量等级 (low, medium, high),默认为 high
in: query
name: level
name: quality
type: string
produces:
- application/octet-stream