From 5cd4f1032829d4376cded56ab62504da1ccca69c Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Mon, 7 Oct 2024 14:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0api=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pywxdump/api/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pywxdump/api/__init__.py b/pywxdump/api/__init__.py index 6491989..8f506db 100644 --- a/pywxdump/api/__init__.py +++ b/pywxdump/api/__init__.py @@ -192,6 +192,7 @@ def start_server(port=5000, online=False, debug=False, isopenBrowser=True, server_loger.info(f"启动flask服务,host:port:{host}:{port}") print("[+] 请使用浏览器访问 http://127.0.0.1:5000/ 查看聊天记录") global app + print("[+] 如需查看api文档,请访问 http://127.0.0.1:5000/docs ") app = gen_fastapi_app(file_handler) uvicorn.run(app=app, host=host, port=port, reload=debug, log_level="info", workers=1, env_file=env_file)