ai_member_xiaokui/memory/2026-04-17.md
2026-04-18 08:10:01 +08:00

23 lines
1.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-04-17 工作日志
## 飞书群消息同步改造(李若松要求)
### 变更内容
- **存储从飞书表格改为 MySQL**:新建 `vala_test.lark_group_message` 表,结构参考 `wechat_group_message`
- **同步频率**从每6小时改为每4小时
- **数据范围**2026.4.1 起的「内容测试问题反馈」群消息
- **数据库账户**chatbottest环境仅对 lark_group_message 有写入权限)
### 完成事项
1. ✅ 创建 `lark_group_message` 表(唯一键 message_id 防重复)
2. ✅ 编写新同步脚本 `scripts/sync_lark_group_to_mysql.py`(基于原有 sync_group_to_sheet.py 改造)
3. ✅ 首次全量同步完成172 条记录2026-04-01 ~ 2026-04-17含文本134条、图片17条、视频10条、富文本9条、表情2条
4. ✅ crontab 定时任务已替换旧的每6小时飞书表格同步 → 新的每4小时MySQL同步
5. ✅ 更新 secrets.md 记录 chatbot 账户
6. ✅ 更新 user-feedback-collector SKILL.md 反馈数据源信息
### 文件变更
- 新增:`scripts/sync_lark_group_to_mysql.py`(核心同步脚本)
- 新增:`scripts/run_lark_group_sync.sh`crontab 入口脚本)
- 旧脚本保留:`scripts/sync_feedback_group.py`飞书表格版本已从crontab移除可后续清理