chore: switch download-origin to IP, update openapi.yaml

This commit is contained in:
agentuser
2026-05-13 15:01:08 +08:00
parent 3cbe918ba8
commit fdbf5856d1
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ info:
contact: contact:
name: 吕冬 name: 吕冬
servers: servers:
- url: https://closein.site - url: https://closein.cn
description: 生产服务器(HTTPS) description: 生产服务器(HTTPS)
- url: http://localhost:10086 - url: http://localhost:10086
description: 本地开发服务器(HTTP) description: 本地开发服务器(HTTP)
@@ -42,7 +42,7 @@ paths:
code: 0 code: 0
msg: "success" msg: "success"
data: data:
url: "https://closein.site/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10" url: "https://closein.cn/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
fileName: "annualReport.docx" fileName: "annualReport.docx"
"400": "400":
description: 参数校验失败(exportId 为空 / businessData 为空) description: 参数校验失败(exportId 为空 / businessData 为空)
@@ -177,7 +177,7 @@ components:
type: string type: string
format: uri format: uri
description: 文件下载 URL,由 origin + 路径组成 description: 文件下载 URL,由 origin + 路径组成
example: "https://closein.site/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10" example: "https://closein.cn/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
fileName: fileName:
type: string type: string
description: 文件名 description: 文件名
+1 -1
View File
@@ -6,4 +6,4 @@ spring:
name: gmp-mock-service name: gmp-mock-service
gmp: gmp:
download-origin: https://closein.site download-origin: https://closein.cn