hotime/example/config/config.json

49 lines
778 B
JSON
Raw Permalink Normal View History

{
"cache": {
"db": {
"db": false,
"session": true
},
"memory": {
"db": true,
"session": true,
"timeout": 7200
}
},
"codeConfig": {
2021-06-04 02:04:37 +00:00
"admin": "config/app.json"
},
"codeConfig1": {
"admin": {
"config": "config/app.json",
"package": "admin",
"rule": "config/rule.json"
}
},
2021-12-27 06:00:08 +00:00
"crossDomain": "auto",
"db": {
2021-06-04 18:18:56 +00:00
"mysql": {
2021-07-03 20:03:29 +00:00
"host": "192.168.6.253",
2021-12-30 18:38:51 +00:00
"name": "myhs",
2021-07-20 16:09:13 +00:00
"password": "dasda8454456",
2021-06-04 18:18:56 +00:00
"port": "3306",
"prefix": "",
"user": "root"
}
},
"defFile": [
"index.html",
"index.htm"
],
"error": {
"1": "内部系统异常",
"2": "访问权限异常",
"3": "请求参数异常",
"4": "数据处理异常",
"5": "数据结果异常"
},
2021-12-27 13:30:24 +00:00
"mode": 3,
2021-12-27 06:00:08 +00:00
"port": "8080",
"sessionName": "HOTIME",
"tpt": "tpt"
}