var _ = require('lodash');

var defaultConfig = {
  weixin: {
    agentId: 0,
    token: 'xxx',
    encodingAESKey: 'xxx',
    corpSecret: 'xxx',
    corpId: 'xxx'
  }
};

var config = {
  development: function() {
    return _.merge(defaultConfig, {
    });
  },

  test: function() {
    return _.merge(defaultConfig,{});
  },

  production: function() {
    return _.merge(defaultConfig, require('./config.production.js'));
  },
};

var env = process.env.NODE_ENV || 'development';

module.exports = config[env]();

@@ -157,16 +157,75 @@
 : 'xxx'%0A
+  %7D,%0A  'baidu': %7B%0A    apiKey: %22xxx%22,%0A    secretKey: %22xxx%22,%0A
   %7D%0A%7D;%0A%0A

Use baidu API