部分常量内容放入配置文件

This commit is contained in:
pixel
2019-12-26 14:30:09 +08:00
parent 69c41af0e1
commit 51f613c7fb
7 changed files with 45 additions and 25 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"mysqlAdmin": {
"username": "root",
"password": "Aa@6447985",
"path": "127.0.0.1:3306",
"dbname": "qmplus",
"config": "charset=utf8&parseTime=True&loc=Local"
},
"qiniu": {
"accessKey":"25j8dYBZ2wuiy0yhwShytjZDTX662b8xiFguwxzZ",
"secretKey": "pgdbqEsf7ooZh7W3xokP833h3dZ_VecFXPDeG5JY"
},
"casbinConfig":{
"modelPath":"./static/rbacmodel/rbac_model.conf"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"admin": {
"username": "root",
"password": "Aa@6447985",
"path": "127.0.0.1:3306",
"dbname": "qmplus",
"config": "charset=utf8&parseTime=True&loc=Local"
}
}