上传文件至 /

This commit is contained in:
2025-09-11 13:38:10 +00:00
parent 521fefe3f8
commit 3db6f3a5c1

View File

@@ -9,6 +9,7 @@ os.chdir(os.path.dirname(os.path.abspath(__file__))) # 切换到当前目录
import core.WebApp as WebApp
import core.PyWebPageAPI as PyWebPageAPI
import core.WebViewWIndow as WebViewWIndow
import core.DBServices as DBServices
import ProjectCfg
@@ -48,7 +49,14 @@ def main():
daemon=True
)
app_thread.start()
# 启动数据库
dbServices_thread = threading.Thread(
target=DBServices.DBStart,
daemon=True
)
dbServices_thread.start()
# 启动Webview
try:
WebViewWIndow.WebViewWIndow(#窗口配置
f'http://127.0.0.1:{StartPort}',