Skip to content

修复:抖音已排期任务可手动发送 - #5

Open
damingishere-coder wants to merge 4 commits into
masterfrom
codex/fix-douyin-scheduled-send
Open

修复:抖音已排期任务可手动发送#5
damingishere-coder wants to merge 4 commits into
masterfrom
codex/fix-douyin-scheduled-send

Conversation

@damingishere-coder

Copy link
Copy Markdown
Owner

本次修改

  • 修复发送中心单条发送已排期抖音任务时不会进入 opencli 队列的问题
  • 保留未勾选“开始发送全部”不会提前发送未来排期任务的安全边界
  • 增加前端确认提示、空队列/opencli 缺失/队列忙碌反馈
  • 更新项目文档和测试

测试

  • .\.venv\Scripts\python.exe -m pytest tests\test_publish_job_lifecycle.py tests\test_publish_scheduler.py
  • node --check app\static\js\app.js
  • .\.venv\Scripts\ruff.exe check app tests

说明

  • 不包含 .env、账号、cookie、token、API key、数据库、日志或浏览器缓存
  • 不会自动合并 PR,不删除分支,不 force push

Copy link
Copy Markdown
Owner Author

追加实现:发送中心已加入 7 天日历式排期面板。

本次新增内容:

  • /publish 批量发布计划下方展示周日历。
  • 可将等待 / 定时 / 失败任务卡片拖进某个日期时间格,复用现有 /api/publish/jobs/schedule-batch 保存排期。
  • 已发布任务按钮显示为“已发布”,并提示不能重复发送。
  • 静态资源版本更新到 20260702-publish-calendar-v2,避免浏览器加载旧 JS/CSS。

已验证:

  • node --check app/static/js/app.js
  • python -m pytest tests/test_publish_job_lifecycle.py tests/test_publish_scheduler.py
  • ruff check app tests
  • 浏览器 DOM 检查确认新版资源加载,日历 35 个时间格、可拖拽任务和按钮状态正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant