浏览代码

把cookie的注释掉

zhangyang 6 年之前
父节点
当前提交
9087d877ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
     {