Commit 4bf749d1 by duwenjun

mongo

parent 4f3796fa
Showing with 5 additions and 5 deletions
...@@ -122,11 +122,11 @@ return [ ...@@ -122,11 +122,11 @@ return [
], ],
'mongodb' => [ 'mongodb' => [
'driver' => 'mongodb', 'driver' => 'mongodb',
'host' => get_resource_config_section('rabbit', 'rabbit')['host'], 'host' => get_resource_config_section('mongodb', 'mongo')['host'],
'database' => get_resource_config_section('rabbit', 'rabbit')['db'], 'database' => get_resource_config_section('mongodb', 'mongo')['db'],
'username' => get_resource_config_section('rabbit', 'rabbit')['user'], 'username' => get_resource_config_section('mongodb', 'mongo')['user'],
'password' => get_resource_config_section('rabbit', 'rabbit')['passwd'], 'password' => get_resource_config_section('mongodb', 'mongo')['passwd'],
'port' => get_resource_config_section('rabbit', 'rabbit')['port'], 'port' => get_resource_config_section('mongodb', 'mongo')['port'],
// 'options' => [ // 'options' => [
// 'database' => 'ichunt' // sets the authentication database required by mongo 3 // 'database' => 'ichunt' // sets the authentication database required by mongo 3
// ] // ]
......
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 sign in to comment