From 96c02776b1806b0aa64ffd42a7d1de3020c31a4e Mon Sep 17 00:00:00 2001 From: luoliangyi <87842688@qq.com> Date: Mon, 18 Jul 2022 11:47:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=87=E7=BA=A7=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=99=A8=E7=9A=84=E5=9F=9F=E5=90=8D=E5=92=8C=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/version/HGVersionImpl.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/version/HGVersionImpl.cpp b/modules/version/HGVersionImpl.cpp index 8a63c624..584efa25 100644 --- a/modules/version/HGVersionImpl.cpp +++ b/modules/version/HGVersionImpl.cpp @@ -51,7 +51,7 @@ static HGResult GetServerConfig(HGServerConfig& config) { std::stringstream out; - std::string url = "http://up.appqy.com/api/ver/setting"; + std::string url = "http://cd.holdtecs.net:50080/api/ver/setting"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -138,7 +138,7 @@ static HGResult CrashFileUpload(const std::string& crashFilePath, std::string& c curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "file", CURLFORM_FILE, crashFilePath.c_str(), CURLFORM_END); curl_formadd(&formpost, &lastptr, CURLFORM_COPYNAME, "submit", CURLFORM_COPYCONTENTS, "Submit", CURLFORM_END); - std::string url = "http://up.appqy.com/api/coollapse/upload"; + std::string url = "http://cd.holdtecs.net:50080/api/coollapse/upload"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost); @@ -505,7 +505,7 @@ static HGResult PostInfo(int type, const std::string& appName, const std::string { std::stringstream out; - std::string url = "http://up.appqy.com/api/recode"; + std::string url = "http://cd.holdtecs.net:50080/api/recode"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -623,7 +623,7 @@ static HGResult PostDeviceInfo(const std::string& sn, const std::string& type, c char countStr[16]; sprintf(countStr, "%d", cnt); - std::string url = "http://up.appqy.com/api/bhs?sn=" + sn + "&type=" + type + "&name=" + name + "&fw=" + fw + std::string url = "http://cd.holdtecs.net:50080/api/bhs?sn=" + sn + "&type=" + type + "&name=" + name + "&fw=" + fw + "&act=" + act + "&cnt" + countStr; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -716,7 +716,7 @@ static HGResult GetVersionList(const std::string& appName, std::list