# MySQL数据库配置 DB_HOST=localhost # 数据库主机地址 DB_PORT=3306 # 数据库端口 DB_USER=root # 数据库用户名 DB_PASSWORD=your_password # 数据库密码 DB_NAME=aimodels # 数据库名称 # 服务器配置 PORT=8080 # 服务器监听端口 # OAuth配置(如果需要) OAUTH_CLIENT_ID=your_client_id OAUTH_CLIENT_SECRET=your_client_secret OAUTH_REDIRECT_URI=http://localhost:8080/api/auth/callback OAUTH_AUTHORIZE_URL=https://example.com/oauth/authorize # 其他配置 GIN_MODE=debug # Gin运行模式:debug或release