Files
weidian/run.py
Jeason 8b64d7e69e feat: 远程浏览器功能 - Web面板内嵌操作滑块验证
- 新增 remote_browser.py: CDP screencast截图流 + 鼠标/键盘事件转发
- Flask-SocketIO 实时通信
- 短信登录时弹出远程浏览器窗口,用户直接在Web页面拖滑块
- 自动检测登录成功并保存auth状态
2026-04-01 13:56:27 +08:00

15 lines
435 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""启动入口python run.py"""
from server.app import create_app, socketio
app = create_app()
if __name__ == '__main__':
import os
print("=" * 50)
print(" 微店抢购管理系统已启动")
print(" 访问 http://localhost:9000")
print("=" * 50)
debug = os.environ.get('FLASK_DEBUG', '1') == '1'
socketio.run(app, host='0.0.0.0', port=9000, debug=debug,
allow_unsafe_werkzeug=True)