Archived
chore: switch download-origin to IP, update openapi.yaml
This commit is contained in:
+3
-3
@@ -5,7 +5,7 @@ info:
|
||||
contact:
|
||||
name: 吕冬
|
||||
servers:
|
||||
- url: https://closein.site
|
||||
- url: https://closein.cn
|
||||
description: 生产服务器(HTTPS)
|
||||
- url: http://localhost:10086
|
||||
description: 本地开发服务器(HTTP)
|
||||
@@ -42,7 +42,7 @@ paths:
|
||||
code: 0
|
||||
msg: "success"
|
||||
data:
|
||||
url: "https://closein.site/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
|
||||
url: "https://closein.cn/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
|
||||
fileName: "annualReport.docx"
|
||||
"400":
|
||||
description: 参数校验失败(exportId 为空 / businessData 为空)
|
||||
@@ -177,7 +177,7 @@ components:
|
||||
type: string
|
||||
format: uri
|
||||
description: 文件下载 URL,由 origin + 路径组成
|
||||
example: "https://closein.site/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
|
||||
example: "https://closein.cn/api/docx/download?id=d8d4122719c8465ea75ab62b37f6ce10"
|
||||
fileName:
|
||||
type: string
|
||||
description: 文件名
|
||||
|
||||
Reference in New Issue
Block a user