2017-12-14 17:32:51 +08:00
|
|
|
{
|
2018-01-04 14:43:57 +08:00
|
|
|
"viewpath" : "/home/www/templates/",
|
2017-12-15 13:09:09 +08:00
|
|
|
"database" : {
|
2017-12-14 17:32:51 +08:00
|
|
|
"default" : [
|
2017-12-19 17:33:12 +08:00
|
|
|
{
|
|
|
|
"host" : "127.0.0.1",
|
|
|
|
"port" : "3306",
|
|
|
|
"user" : "root",
|
2017-12-20 12:05:36 +08:00
|
|
|
"pass" : "123456",
|
2017-12-19 17:33:12 +08:00
|
|
|
"name" : "test",
|
|
|
|
"type" : "mysql",
|
|
|
|
"role" : "master",
|
|
|
|
"charset" : "utf8",
|
|
|
|
"priority" : "1"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"host" : "127.0.0.1",
|
|
|
|
"port" : "3306",
|
|
|
|
"user" : "root",
|
2017-12-20 12:05:36 +08:00
|
|
|
"pass" : "123456",
|
2017-12-19 17:33:12 +08:00
|
|
|
"name" : "test",
|
|
|
|
"type" : "mysql",
|
|
|
|
"role" : "master",
|
|
|
|
"charset" : "utf8",
|
|
|
|
"priority" : "1"
|
|
|
|
}
|
2017-12-14 17:32:51 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|