迁移服务层

This commit is contained in:
2025-10-10 18:11:36 +08:00
parent a71cde7b82
commit 93830c3d03
13 changed files with 437 additions and 188 deletions

12
services/site.py Normal file
View File

@@ -0,0 +1,12 @@
"""
站点信息服务。
"""
from pkg import conf
async def get_version() -> str:
"""
返回站点版本信息。
"""
return conf.VERSION