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