🎨 将文本内容同一更新

🐛 修复偷菜无法正常计算的BUG
This commit is contained in:
2025-06-06 10:56:22 +08:00
parent ba2ecf19fc
commit ac13ab9280
20 changed files with 1284 additions and 699 deletions
+2 -4
View File
@@ -1,6 +1,3 @@
from typing import Optional
class CDBService:
@classmethod
async def init(cls):
@@ -37,11 +34,12 @@ class CDBService:
cls.userSign = CUserSignDB()
await cls.userSign.initDB()
#迁移旧数据库
# 迁移旧数据库
await cls.userSoil.migrateOldFarmData()
@classmethod
async def cleanup(cls):
await cls.plant.cleanup()
g_pDBService = CDBService()