实现HTTP服务架构

This commit is contained in:
lixiaoyuan
2025-08-31 14:38:53 +08:00
parent 4af4e670d2
commit e0b64a20c4
46 changed files with 1436 additions and 545 deletions

View File

@@ -96,9 +96,10 @@ string Fields::toStr()
string s;
for (auto it = mapFields.begin(); it != mapFields.end(); it++)
{
s += ("{" + it->first + ":" + it->second + "} ");
if (!s.empty()) s += ",";
s += ("\"" + it->first + "\":\"" + it->second + "\"");
}
return s;
return "{" + s + "}";
}
string Fields::toSqlInsert(string tableName)