feat: AI余额定时自动同步(CLI脚本+systemd每日timer+批量同步接口+前端按钮)

This commit is contained in:
gouki
2026-08-02 17:43:46 +00:00
parent 2e3e9f8b0b
commit 8ba58caaa8
7 changed files with 116 additions and 2 deletions
+13
View File
@@ -0,0 +1,13 @@
# AI 账号余额每日同步定时器
# 部署位置:/etc/systemd/system/vps-sync-ai.timer
[Unit]
Description=Daily sync of AI account balances
[Timer]
OnCalendar=daily
Persistent=true
Unit=vps-sync-ai.service
[Install]
WantedBy=timers.target