ktianc 2023-10-17 14:55:47 +08:00
parent 95a6ee9fc9
commit 61e9a336d3
4 changed files with 3 additions and 6 deletions

View File

@ -11,7 +11,7 @@ from fastapi.security import OAuth2PasswordBearer
""" """
系统版本 系统版本
""" """
VERSION = "3.0.1" VERSION = "3.0.2"
"""安全警告: 不要在生产中打开调试运行!""" """安全警告: 不要在生产中打开调试运行!"""
DEBUG = False DEBUG = False

View File

@ -113,6 +113,8 @@ def init_app(path: str):
""" """
自动创建初始化 APP 结构 自动创建初始化 APP 结构
命令例子python main.py init-app vadmin/test
:params path: app 路径根目录为apps填写apps后面路径即可例子vadmin/auth :params path: app 路径根目录为apps填写apps后面路径即可例子vadmin/auth
""" """
print(f"开始创建并初始化 {path} APP") print(f"开始创建并初始化 {path} APP")

Binary file not shown.

View File

@ -93,8 +93,3 @@ class CreateApp:
template.close() template.close()
return content return content
if __name__ == '__main__':
app = CreateApp("test/vv")
app.run()