mobile . themes

This commit is contained in:
2026-03-16 14:00:50 +08:00
parent 33763d279e
commit dd9609165c
6 changed files with 110 additions and 78 deletions

View File

@@ -4,6 +4,7 @@ import json
import os
import zipfile
from datetime import datetime
from models import beijing_now
from io import BytesIO
from models import (
@@ -76,7 +77,7 @@ def export_all_data():
"""导出所有表数据为 JSON 字典"""
data = {
'meta': {
'exported_at': datetime.now().strftime('%Y-%m-%d %H:%M:%S'),
'exported_at': beijing_now().strftime('%Y-%m-%d %H:%M:%S'),
'version': '1.0',
},
'tables': {}