private function configFileGenerate($key, array $data)
{
$dir = config_path() . '/production';
$this->makeDir($dir);
$data = $this->encodeArr2Str($data);
$file = $dir . "/{$key}.php";
file_put_contents($file, '<?php' . str_repeat(PHP_EOL, 2) . 'return [' . PHP_EOL . $data . '];' . PHP_EOL);
}