dever 5 years ago
parent
commit
a431442835
1 changed files with 2 additions and 0 deletions
  1. 2 0
      config/env/localhost/default.php

+ 2 - 0
config/env/localhost/default.php

@@ -87,6 +87,7 @@ if (isset($dc['mysql_user'])) {
     $config['database']['pay'] = $dc['mysql_user'];
     $config['database']['score'] = $dc['mysql_user'];
     $config['database']['message'] = $dc['mysql_user'];
+    $config['database']['oauth'] = $dc['mysql_user'];
     $config['database']['wechat'] = $dc['mysql_user'];
 }
 
@@ -102,6 +103,7 @@ if (DEVER_APP_NAME == 'tests' && isset($dc['mysql_test'])) {
     $config['database']['pay'] = $dc['mysql_test'];
     $config['database']['score'] = $dc['mysql_test'];
     $config['database']['message'] = $dc['mysql_test'];
+    $config['database']['oauth'] = $dc['mysql_user'];
     $config['database']['wechat'] = $dc['mysql_test'];
 }