#!/bin/bash # 支持传入环境参数,默认 prod ENV=${1:-prod} export ENV echo "当前运行环境: $ENV" python3 main.py