diff --git a/app/fwupgrade/mainwindow.ui b/app/fwupgrade/mainwindow.ui index 5cf0cfe0..af047fa6 100644 --- a/app/fwupgrade/mainwindow.ui +++ b/app/fwupgrade/mainwindow.ui @@ -77,7 +77,7 @@ - 3 + 0 diff --git a/modules/version/HGVersionImpl.cpp b/modules/version/HGVersionImpl.cpp index 00caa1b3..c274b9ad 100644 --- a/modules/version/HGVersionImpl.cpp +++ b/modules/version/HGVersionImpl.cpp @@ -53,7 +53,7 @@ static HGResult GetServerConfig(HGServerConfig& config) { std::stringstream out; - std::string url = "http://cd.holdtecs.net:50080/api/ver/setting"; + std::string url = "http://cd.huagaochina.com:50080/api/ver/setting"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -140,7 +140,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://cd.holdtecs.net:50080/api/coollapse/upload"; + std::string url = "http://cd.huagaochina.com: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); @@ -521,7 +521,7 @@ static HGResult PostInfo(int type, const std::string& appName, const std::string { std::stringstream out; - std::string url = "http://cd.holdtecs.net:50080/api/recode"; + std::string url = "http://cd.huagaochina.com:50080/api/recode"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -662,7 +662,7 @@ static HGResult PostDeviceInfo(const std::string& devName, const std::string& de { std::stringstream out; - std::string url = "http://cd.holdtecs.net:50080/api/bhs"; + std::string url = "http://cd.huagaochina.com:50080/api/bhs"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -742,7 +742,7 @@ static HGResult PostDeviceLockInfo(const std::string& devName, const std::string { std::stringstream out; - std::string url = "http://cd.holdtecs.net:50080/api/info"; + std::string url = "http://cd.huagaochina.com:50080/api/info"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -839,7 +839,7 @@ static HGResult PostUserInfo(const std::string& appName, const std::string& oemN { std::stringstream out; - std::string url = "http://cd.holdtecs.net:50080/api/behaviors"; + std::string url = "http://cd.huagaochina.com:50080/api/behaviors"; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -949,7 +949,7 @@ static HGResult GetVersionList(const std::string& appName, const std::string& oe std::string osName = GetOSName(); std::string archName = GetArchName(); - std::string url = "http://cd.holdtecs.net:50080/api/ver?app=" + appName + "&oem=" + oemName + "&cpu=" + archName + "&sys=" + osName; + std::string url = "http://cd.huagaochina.com:50080/api/ver?app=" + appName + "&oem=" + oemName + "&cpu=" + archName + "&sys=" + osName; curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); @@ -1571,7 +1571,7 @@ HGResult HGVersionMgrImpl::BlackListCheck(const HGChar* devSN, HGBool* inList) std::stringstream out; char url[256]; - sprintf(url, "http://cd.holdtecs.net:50080/api/check?sn=%s", devSN); + sprintf(url, "http://cd.huagaochina.com:50080/api/check?sn=%s", devSN); curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2); curl_easy_setopt(curl, CURLOPT_URL, url); @@ -1636,7 +1636,7 @@ static HGResult GetDriverVersionList(const std::string& devType, std::list