Commit b47fcfe8 by 王召彬

APP_ENV

parent 17adcbb9
......@@ -174,7 +174,8 @@ class CfgCenter
if($database == '') {
$database = 'config_center';
}
if (\env('APP_DEV') == 'prod') {
if (\env('APP_ENV') == 'prod') {
// 返回线上数据库连接
return new \Medoo\Medoo([
'database_type' => 'mysql',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment