fix: 兼容 Windows PowerShell 支付宝定时任务 #798

Merged
yutu merged 1 commits from hotfix/92451-alipay-task-encoding into main 2026-10-30 20:15:00 +08:00
Collaborator

修复

Windows 任务计划使用 PowerShell 5.1,原脚本为无 BOM UTF-8,中文被错误解码并在执行前语法失败;私有配置文件同样存在编码读取问题。

  • 两个 PowerShell 脚本改为 UTF-8 BOM。
  • 私有支付宝配置与导出状态显式按 UTF-8 读取。
  • 未改变支付宝登录、账单口径或财务写入逻辑。

验证

  • Windows PowerShell 5.1 解析两个脚本通过。
  • 实际运行已进入支付宝导出流程;当前因人工验证要求按设计停止,未覆盖已有数据。
  • 敏感值扫描通过。
## 修复 Windows 任务计划使用 PowerShell 5.1,原脚本为无 BOM UTF-8,中文被错误解码并在执行前语法失败;私有配置文件同样存在编码读取问题。 - 两个 PowerShell 脚本改为 UTF-8 BOM。 - 私有支付宝配置与导出状态显式按 UTF-8 读取。 - 未改变支付宝登录、账单口径或财务写入逻辑。 ## 验证 - Windows PowerShell 5.1 解析两个脚本通过。 - 实际运行已进入支付宝导出流程;当前因人工验证要求按设计停止,未覆盖已有数据。 - 敏感值扫描通过。
yutu added 1 commit 2026-10-30 20:14:54 +08:00
yutu merged commit 70cbc4a72c into main 2026-10-30 20:15:00 +08:00
yutu deleted branch hotfix/92451-alipay-task-encoding 2026-10-30 20:15:01 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WuYongJie/CaiWuXiTong#798
No description provided.