Explorar el Código

把cookie的注释掉

zhangyang hace 6 años
padre
commit
9087d877ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lewaimai_pos_windows/network/CHttpClient.cpp

+ 1 - 1
lewaimai_pos_windows/network/CHttpClient.cpp

@@ -145,7 +145,7 @@ int CHttpClient::Posts(const std::string & strUrl, const std::string & strPost,
     curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, OnWriteData);
     curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&strResponse);
     curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
-    curl_easy_setopt(curl, CURLOPT_COOKIE, "lwm_gray_tag=rc");;
+    //curl_easy_setopt(curl, CURLOPT_COOKIE, "lwm_gray_tag=rc");;
 
     if(NULL == pCaPath)
     {