init: 初始化 dpb 桃育种系统代码库

前后端 + 后端 FastAPI 全量源码、部署脚本与文档。
This commit is contained in:
34047007@qq.com
2026-08-06 00:17:49 +08:00
commit b95053c52c
1469 changed files with 322298 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
from app.config.path_conf import BANNER_FILE
def worship() -> str:
"""读取启动 Banner(优先 `banner.txt`)。
获取地址:https://patorjk.com/software/taag/#p=testall&f=Fire+Font-k&t=fastapiadmin%0A&x=none&v=4&h=4&w=80&we=false
返回:
- str: banner 文本。
"""
if BANNER_FILE.exists():
return BANNER_FILE.read_text(encoding="utf-8")
return ""