feat: 2023主题适配新登录模式

This commit is contained in:
Lan
2025-02-09 23:33:43 +08:00
parent d35c84cc43
commit 78c612c660
27 changed files with 59 additions and 39 deletions
+2
View File
@@ -90,6 +90,8 @@ class ConfigService:
class LocalFileService:
async def list_files(self):
files = []
if not os.path.exists(data_root / 'local'):
os.makedirs(data_root / 'local')
for file in os.listdir(data_root / 'local'):
files.append(LocalFileClass(file))
return files