Files
weidian/run.py
Jeason 822a4636c0 feat: Web管理系统 + Docker支持
- 多账号管理(异步登录、状态轮询)
- 购物车预售商品同步(倒计时/定时开售)
- 定时抢购(自动刷新、SKU选择、重试机制)
- 账号隔离调度(同账号顺序、跨账号并行)
- Web面板(任务分组、实时倒计时、批量操作)
- Dockerfile + docker-compose
2026-03-18 13:38:17 +08:00

14 lines
370 B
Python
Raw 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
app = create_app()
if __name__ == '__main__':
print("=" * 50)
print(" 微店抢购管理系统已启动")
print(" 访问 http://localhost:9000")
print("=" * 50)
import os
debug = os.environ.get('FLASK_DEBUG', '1') == '1'
app.run(host='0.0.0.0', port=9000, debug=debug)