feat: 开版订单 AI 解析服务

- 豆包 AI 解析企微消息 → 开版订单字段
- 字典枚举缓存(每日刷新,11 个分组 + 关联流程)
- 布料精确匹配,找不到自动新增
- 客户精确匹配,未找到返回建议
- 企微消息代理(解决前端 CORS)
- 支持 tags 写入(记录解析次数)
- 单条消息图片获取接口
This commit is contained in:
zuowei1216
2026-05-25 19:35:22 +08:00
commit eaed17c362
5 changed files with 646 additions and 0 deletions

22
.gitignore vendored Normal file
View File

@@ -0,0 +1,22 @@
# 环境变量(含密钥,不提交)
.env
.env.local
.env.production
.env.test
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
.Python
*.egg-info/
dist/
build/
venv/
.venv/
# 测试/调试文件
bench.py
debug_api.py
test_*.py