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