text: const env = process.env.NODE_ENV // 环境变量
  
  // 配置
  let MYSQL_CONF // mysql
  let REDIS_CONF // redis
  
  if (env === 'development') {
    MYSQL_CONF = {
      host: 'localhost',
      user: 'root',
      password: '',
      port: '3306',
      database: 'blog'
    }
    REDIS_CONF = {
      host: '127.0.0.1',
      port: '6379'
    }
  }
  if (env === 'production') {
    MYSQL_CONF = {
      host: 'localhost',
      user: 'root',
      password: '',
      port: '3306',
      database: 'blog'
    }
    REDIS_CONF = {
      host: '127.0.0.1',
      port: '6379'
    }
  }
  
  module.exports = {
    MYSQL_CONF,
    REDIS_CONF
  }
  