Initial commit: yu-zhi-ran platform with automation integration

This commit is contained in:
lt
2026-04-19 14:05:09 +08:00
commit 3cb2df51c8
209 changed files with 80379 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env python3
import json
data = json.load(open('automation/data/sustainability_topics.json', 'r', encoding='utf-8'))
for t in data:
if t['id'] in ['B05', 'D01']:
t['status'] = '待处理'
if 'ready_at' in t:
del t['ready_at']
json.dump(data, open('automation/data/sustainability_topics.json', 'w', encoding='utf-8'), ensure_ascii=False, indent=2)
print('已重置 B05, D01 为待处理')