修feat: 渠道库存同步支持字段任意排序并增加字段异常告警

- 按字段名校验并写入渠道库存,取消字段顺序校验及表头重建
- 严格校验必填字段名称、类型和数字格式,失败时不修改表头或记录
- 字段校验失败时发送飞书群通知
- 添加字段校验与通知流程测试
- 忽略 Python 字节码、__pycache__ 和 .DS_Store
This commit is contained in:
2026-07-22 14:28:23 +08:00
parent 58b38adc6f
commit e234bfbe7a
7 changed files with 189 additions and 76 deletions
+8 -2
View File
@@ -1,8 +1,14 @@
.env
.feishu_oauth_tokens.json
inventory_sync/__pycache__
# Python bytecode (at any directory depth)
__pycache__/
*.pyc
# macOS Finder metadata (at any directory depth)
.DS_Store
batch_inventory_data/*
logs
reports
batch_inventory_data
batch_inventory_data