AI正在解析中,请稍候...
正在生成文档,请稍候...
+diff --git a/__pycache__/app.cpython-312.pyc b/__pycache__/app.cpython-312.pyc index 8a22b98..40d1173 100644 Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ diff --git a/app.py b/app.py index 019f7a6..4ab56bb 100644 --- a/app.py +++ b/app.py @@ -52,6 +52,10 @@ swagger_template = { "name": "AI解析", "description": "AI字段提取相关接口" }, + { + "name": "文档生成", + "description": "文档生成相关接口" + }, { "name": "字段配置", "description": "字段配置查询接口" @@ -465,6 +469,25 @@ def generate_document(): fpolicFieldParamFileList: type: array description: 文件列表(包含filePath) + items: + type: object + properties: + fileId: + type: integer + description: 文件ID + example: 1 + fileName: + type: string + description: 文件名称 + example: 请示报告卡.doc + templateCode: + type: string + description: 模板编码 + example: PRELIMINARY_VERIFICATION_APPROVAL + filePath: + type: string + description: MinIO相对路径 + example: /202511261123/请示报告卡.doc msg: type: string example: ok diff --git a/static/index.html b/static/index.html index 9d8df7b..8f7d20d 100644 --- a/static/index.html +++ b/static/index.html @@ -3,7 +3,7 @@
-解析接口测试工具 - 初步核实审批表
+API接口测试工具 - 解析接口 & 文档生成接口
AI正在解析中,请稍候...
正在生成文档,请稍候...
+