update:后台修改配置信息

This commit is contained in:
lan
2023-01-16 17:54:08 +08:00
parent a40fcaf726
commit 165064f243
5 changed files with 174 additions and 32 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ async def init_models():
)
else:
# 从数据库更新缓存中的setting
await settings.update(await conn.execute(select(Options).filter()))
await settings.updates(await conn.execute(select(Options).filter()))
async def get_session():