|
@@ -50,7 +50,7 @@ int UpdateAssistant::GetLatest(const std::string& app_name, VersionInfo* info) {
|
|
|
// info->url = json.GetString("app_path", "");
|
|
|
// info->file_size = json.GetInt("fileSize", 0);
|
|
|
|
|
|
- std::string url = getHttpGateway() + "/deviceRoom/get_app_version?device_type=303&part_id=" + StoragePreferences::getString(STORE_PARTID, "");
|
|
|
+ std::string url = getHttpGateway() + "/deviceRoom/get_app_version?device_type=403&part_id=" + StoragePreferences::getString(STORE_PARTID, "");
|
|
|
std::string content_type = std::string("application/json");
|
|
|
|
|
|
LOGD("请求版本信息. url = %s", url.c_str());
|