Skip to content

Commit

Permalink
增加api文档说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoyaoo committed Oct 7, 2024
1 parent cbebf01 commit 5cd4f10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pywxdump/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5cd4f10

Please sign in to comment.