1. 调整回调响应的Code字段类型为object以兼容更多返回值 2. 为JournalDto新增Url和QuestionNo属性 3. 为JournalPageTaskOutput新增Task字段并完善注释 4. 新增打印工作服务的发布、安装卸载脚本与README文档 5. 调整项目配置,添加运行时标识与资源拷贝配置 6. 优化程序启动逻辑,修复工作目录与日志路径问题 7. 简化日志配置,移除多余的Hangfire与AI配置项 8. 完善期刊删除逻辑,关联删除相关子数据 9. 新增期刊发布时的书页任务排序与回调地址补全逻辑
31 lines
697 B
Markdown
31 lines
697 B
Markdown
# PrintWorker Windows Service
|
|
|
|
## 发布
|
|
|
|
```powershell
|
|
cd C:\项目\QYZH.InteractiveMagazine\QYZH.InteractiveMagazine.PrintWorker
|
|
.\scripts\publish-win-x64.ps1
|
|
```
|
|
|
|
发布目录默认是 `.\publish\win-x64`,其中包含 `PrintToolV2.7`、`appsettings.json` 和 `QYZH.InteractiveMagazine.PrintWorker.exe`。
|
|
|
|
## 安装服务
|
|
|
|
用管理员 PowerShell 执行:
|
|
|
|
```powershell
|
|
cd C:\Web\QYZH.InteractiveMagazine.PrintWorker
|
|
.\scripts\install-service.ps1
|
|
```
|
|
|
|
默认服务名:`QYZH.InteractiveMagazine.PrintWorker`。
|
|
|
|
## 卸载服务
|
|
|
|
用管理员 PowerShell 执行:
|
|
|
|
```powershell
|
|
cd C:\项目\QYZH.InteractiveMagazine\QYZH.InteractiveMagazine.PrintWorker
|
|
.\scripts\uninstall-service.ps1
|
|
```
|