1. 提取评分prompt构建逻辑减少重复代码 2. 移除冗余的参考答案图片循环逻辑 3. 重构打印服务的错误回调逻辑,统一失败处理流程 4. 新增打印服务的任务取消处理逻辑
PrintWorker Windows Service
发布
cd C:\项目\QYZH.InteractiveMagazine\QYZH.InteractiveMagazine.PrintWorker
.\scripts\publish-win-x64.ps1
发布目录默认是 .\publish\win-x64,其中包含 PrintToolV2.7、appsettings.json 和 QYZH.InteractiveMagazine.PrintWorker.exe。
安装服务
用管理员 PowerShell 执行:
cd C:\Web\QYZH.InteractiveMagazine.PrintWorker
.\scripts\install-service.ps1
默认服务名:QYZH.InteractiveMagazine.PrintWorker。
卸载服务
用管理员 PowerShell 执行:
cd C:\项目\QYZH.InteractiveMagazine\QYZH.InteractiveMagazine.PrintWorker
.\scripts\uninstall-service.ps1