27 Commits
Author SHA1 Message Date
agentuser 8f6c12f960 refactor: 用直接XML预处理替换poi-tl模板引擎 — 合并Run+替换占位符在ZIP层完成,减少依赖 2026-06-24 17:54:03 +08:00
agentuser 7b78091f0d feat: query annual report investment data from MySQL 2026-05-25 15:03:13 +08:00
agentuser 0c5c540e0f feat: fill annual report table cells with generated investment data 2026-05-25 15:00:21 +08:00
CloseIn 39c99f64e5 更新模板 2026-05-25 14:55:48 +08:00
CloseIn 3cbe918ba8 chore: remove unused server address from application.yml 2026-05-13 09:14:22 +08:00
agentuser 1dd2c774fb docs: update openapi.yaml — production change to https://closein.site 2026-05-12 17:15:14 +08:00
agentuser 59e707cf68 switch to nginx reverse proxy, Spring Boot on 127.0.0.1:10086 (HTTP) 2026-05-12 17:10:06 +08:00
agentuser b2cfdcc62e switch to HTTPS with self-signed cert, port 10086 2026-05-12 16:54:05 +08:00
CloseIn 8a92183c99 chore: update annual report filename to 南方电网年度报告.docx 2026-05-11 17:51:15 +08:00
agentuser a57fbbf9ec chore: change port from 6666 to 10086 2026-05-11 17:41:34 +08:00
agentuser b53f43fb67 feat: configurable download origin via gmp.download-origin 2026-05-11 17:34:36 +08:00
agentuser 2f6c68a2e2 docs: update API spec — url returns pathname only, 30min cache expiration 2026-05-11 17:18:18 +08:00
agentuser a3100e61f4 revert: remove download-origin config, return pathname only 2026-05-11 17:16:36 +08:00
agentuser 113facaeb2 chore: set gmp.download-origin to http://193.112.146.124:6666 2026-05-11 17:14:10 +08:00
agentuser 38b9b64809 feat: configurable download origin (gmp.download-origin), defaults to path-only 2026-05-11 17:13:01 +08:00
agentuser da415aab80 feat: add 30-minute auto-cleanup for generated cache files 2026-05-11 17:07:47 +08:00
agentuser 9fc145ae61 docs: update openapi.yaml to reflect JSON export + download endpoint 2026-05-11 16:36:25 +08:00
CloseIn 4fccbd1ad1 chore: update OpenAPI spec with new contact name and server description 2026-05-11 16:34:05 +08:00
agentuser 318a5bdf7a refactor: export API returns JSON with download URL, add FileCacheService 2026-05-11 16:30:55 +08:00
CloseIn e107e1eb92 chore: update OpenAPI spec with new service title and server URL 2026-05-08 12:01:26 +08:00
agentuser 7b79f1f551 switch to poi-tl for template rendering, add OpenAPI spec
- Replace manual DOCX ZIP manipulation with poi-tl library
- Templates use {{variable}} syntax, editable in Word
- Add postProcess hook for dynamic content (table rows)
- Clean up unused generate() method from TemplateProvider
- Remove custom ExportResult/ExportFileWriter complexity
- Add docs/openapi.yaml — OpenAPI 3.1 spec for export API
2026-05-08 11:53:43 +08:00
CloseIn 180c8e78aa update template 2026-05-08 11:38:11 +08:00
agentuser 12b3e378a1 docs: add API documentation for docx export endpoint 2026-05-08 11:35:47 +08:00
agentuser 31a8f57082 remove LFS tracking (Gitee free tier doesn't support LFS), store .docx as regular file 2026-05-08 11:17:04 +08:00
agentuser 7442f77bd0 refactor: streaming download, Git LFS templates, deploy workflow
- Replace base64 JSON response with StreamingResponseBody (zero-buffer)
- Error responses return JSON via GlobalExceptionHandler (400/404)
- Add git-lfs track for *.docx to keep repo lean
- Add deploy/deploy.sh: one-click build + restart
- Add deploy/clean-lfs.sh: periodic LFS cache cleanup
- Add deploy/gmp-service.service: systemd service unit
- Remove unused ApiResponse and DocxExportData DTOs
- Fix build.sh/run.sh jar name (gmp-mock-service -> gmp-service)
- Add TemplateNotFoundException for missing templates
2026-05-08 11:12:47 +08:00
CloseIn ad4b0e93f0 update server port in application.yml to 6666 2026-05-08 10:32:10 +08:00
CloseIn ac5a30844e init 2026-05-07 15:54:19 +08:00