增加公交线路和编码功能

This commit is contained in:
2026-07-28 09:49:01 +08:00
parent 7a7fd04e40
commit e72acb58ec
4 changed files with 60 additions and 7 deletions

2
app.py
View File

@@ -160,4 +160,4 @@ if __name__ == '__main__':
port = int(os.environ.get('DEPLOY_RUN_PORT', os.environ.get('PORT', 5000)))
log_info(f'启动服务器http://localhost:{port}', 'app')
log_info(f'数据库:{os.environ.get("DB_HOST", "haoslm2.xicp.net")}:{os.environ.get("DB_PORT", "10216")}', 'app')
app.run(host='0.0.0.0', port=port, debug=True)
app.run(host='0.0.0.0', port=port, debug=True)