Initial certificate system

This commit is contained in:
nelso
2026-06-06 19:32:24 +08:00
commit ce4ed6213b
105 changed files with 9133 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# 结业证书模板调试模块
这个目录是证书模板的独立验证模块,暂时不接主系统数据库。
## 启动
在项目根目录执行:
```powershell
$py = "C:\Users\nelso\.cache\codex-runtimes\codex-primary-runtime\dependencies\python\python.exe"
& $py -m http.server 8020 -d .\certificate-template-lab
```
然后访问:
```text
http://127.0.0.1:8020
```
## 当前用途
-`assets/original.jpg` 作为证书底图。
- 擦除可变文字区域并重新绘制学员、课程、日期、单位、证书编号等信息。
- 支持下载 PNG用于先确认视觉效果。
- 后续确认版式后,再把这套渲染参数迁移到主系统的 PDF/图片生成流程。