iedc-go/example/config/config.json

31 lines
560 B
JSON

{
"cacheLongTime": 2592000,
"cacheShortTime": 7200,
"crossDomain": "",
"dbCached": 0,
"dbHost": "127.0.0.1",
"dbName": "test",
"dbPort": "3306",
"dbPwd": "root",
"dbUser": "root",
"debug": 1,
"defFile": [
"index.html",
"index.htm"
],
"error": {
"1": "内部系统异常",
"2": "访问权限异常",
"3": "请求参数异常",
"4": "数据处理异常",
"5": "数据结果异常"
},
"logLevel": 1,
"modeRouterStrict": false,
"port": "8080",
"sessionName": "HOTIME",
"tlsCert": "",
"tlsKey": "",
"tlsPort": "0",
"tpt": "tpt"
}