引入数据库,代码,配置文件三位一体内容,准备进行一体化配置

This commit is contained in:
2021-06-03 05:31:09 +08:00
parent 9af232840c
commit 99933e02f4
9 changed files with 166 additions and 10 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"cache": {
"memory": {
"db": true,
"session": true,
"timeout": 7200
}
},
"db": {
"sqlite": {
"path": "example/config/data.db"
}
},
"defFile": [
"index.html",
"index.htm"
],
"devConfig": {
"admin": "config/app.json"
},
"error": {
"1": "内部系统异常",
"2": "访问权限异常",
"3": "请求参数异常",
"4": "数据处理异常",
"5": "数据结果异常"
},
"mode": 2,
"port": "80",
"sessionName": "HOTIME",
"tpt": "tpt"
}