iedc-go/example/config/config.json

48 lines
764 B
JSON
Raw Permalink 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-20 03:20:03 +00:00
"host": "192.168.6.253",
2022-10-19 13:29:38 +00:00
"name": "rfcb",
2022-08-20 03:20:03 +00:00
"password": "dasda8454456",
2022-07-11 11:13:20 +00:00
"port": "3306",
"user": "root"
2022-08-03 18:41:41 +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"
}