- 修改 Get 方法以根据是否存在 JOIN 来构建参数结构 - 修改 Count 方法以根据是否存在 JOIN 来传递参数 - 修改 Select 方法以根据是否存在 JOIN 来构建参数结构 - 在 where.go 中添加对 [##] 键的支持以直接添加 SQL 片段 - 删除 example/config/admin.json 配置文件 - 删除 example/config/config.json 配置文件 - 删除 example/config/configNote.json 配置文件 - 删除 example/config/rule.json 配置文件 - 删除 example/benchmark_test.go 压测文件 - 重构 example/main.go 文件,添加完整的 HoTimeDB 功能测试套件 - 添加调试日志功能以跟踪数据库操作流程
38 lines
566 B
JSON
38 lines
566 B
JSON
{
|
|
"cache": {
|
|
"memory": {
|
|
"db": true,
|
|
"session": true,
|
|
"timeout": 7200
|
|
}
|
|
},
|
|
"codeConfig": [
|
|
{
|
|
"config": "config/app.json",
|
|
"mode": 0,
|
|
"name": "",
|
|
"rule": "config/rule.json",
|
|
"table": "admin"
|
|
}
|
|
],
|
|
"db": {
|
|
"sqlite": {
|
|
"path": "config/data.db"
|
|
}
|
|
},
|
|
"defFile": [
|
|
"index.html",
|
|
"index.htm"
|
|
],
|
|
"error": {
|
|
"1": "内部系统异常",
|
|
"2": "访问权限异常",
|
|
"3": "请求参数异常",
|
|
"4": "数据处理异常",
|
|
"5": "数据结果异常"
|
|
},
|
|
"mode": 2,
|
|
"port": "80",
|
|
"sessionName": "HOTIME",
|
|
"tpt": "tpt"
|
|
} |