iedc-go/example/config/config.json

49 lines
785 B
JSON
Raw Normal View History

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