@@ -37,7 +37,7 @@ static bool FulfillRequestJsonBody(HttpClientRequestConfig* pConfig, const T& da
{
std::string jsonValue;
if (Object2Json(jsonValue, dataStruct)) {
- pConfig.SetJsonBody(jsonValue);
+ pConfig->SetJsonBody(jsonValue);
return true;
}
return false;
@@ -24,6 +24,7 @@
#include <string>
#include <map>
#include <vector>
+#include <sstream>
/*
* > 0 : 网站返回的错误码,比如 200,404 等