hotime/example/config/config.json

49 lines
786 B
JSON
Raw Normal View History

2022-07-11 11:07:17 +08:00
{
"cache": {
2022-07-25 05:37:19 +08:00
"db": {
"db": false,
"session": true,
"timeout": 7200
},
2022-07-11 11:07:17 +08:00
"memory": {
"db": true,
"session": true,
"timeout": 7200
}
},
"codeConfig": [
{
2022-07-18 19:44:00 +08:00
"config": "config/admin.json",
"configDB": "config/adminDB.json",
2022-07-11 11:07:17 +08:00
"mode": 0,
"name": "",
"rule": "config/rule.json",
"table": "admin"
}
],
"db": {
2022-07-11 19:13:20 +08:00
"mysql": {
2022-08-11 10:18:48 +08:00
"host": "192.168.2.20",
"name": "gov_crawler",
"password": "fh22y8b882d",
2022-07-11 19:13:20 +08:00
"port": "3306",
2022-08-03 12:07:55 +08:00
"prefix": "",
2022-07-11 19:13:20 +08:00
"user": "root"
2022-08-04 02:41:41 +08:00
}
2022-07-11 11:07:17 +08:00
},
"defFile": [
"index.html",
"index.htm"
],
"error": {
"1": "内部系统异常",
"2": "访问权限异常",
"3": "请求参数异常",
"4": "数据处理异常",
"5": "数据结果异常"
},
"mode": 2,
2022-07-11 19:13:20 +08:00
"port": "8081",
2022-07-11 11:07:17 +08:00
"sessionName": "HOTIME",
"tpt": "tpt"
}