writeConfig(config) {
    const configFilepath = path.join(think.RUNTIME_PATH, 'config');
    helper.mkdir(configFilepath);
    fs.writeFileSync(`${configFilepath}/${think.app.env}.json`, JSON.stringify(config, undefined, 2));
  }
write config to file
@param {Config} config