// 数据库配置
const DB_PORT = process.env.DB_PORT || 9527;
const DB_NAME = process.env.DB_NAME || 'ningxia_zhengfu';
const DB_USER = process.env.DB_USER || 'root';
const DB_PASSWORD = process.env.DB_PASSWORD || 'aiotAiot123!';
const DB_DIALECT = process.env.DB_DIALECT || 'mysql';
const DB_HOST = process.env.DB_HOST || '129.211.213.226';

module.exports = {
  // JWT密钥配置
  JWT_SECRET: 'your-secret-key-here', // 请在生产环境中替换为强密钥
  
  // 数据库连接配置
  DB_CONFIG: {
    host: DB_HOST,
    user: DB_USER,
    password: DB_PASSWORD,
    database: DB_NAME,
    port: DB_PORT,
    dialect: DB_DIALECT
  },
  
  // 服务器端口
  PORT: 5352
};