|
@@ -151,6 +151,8 @@ int CenterSettingsMicroServiceHelper::GetCenterSetting(bool byHand)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ if (m_isFirst) m_isFirst = false;
|
|
|
+
|
|
|
DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("m_strVersion:%s", m_strVersion.GetData());
|
|
|
req.m_update_time = GetUpdateTime();
|
|
|
GetTimeoutValue(req.m_timeOut);
|
|
@@ -183,14 +185,6 @@ int CenterSettingsMicroServiceHelper::GetCenterSetting(bool byHand)
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- if (ret1 == EXIST && m_isFirst) {
|
|
|
- m_isFirst = false;
|
|
|
- }
|
|
|
- else if (ret1 == SUCC && !m_isFirst) {
|
|
|
- m_isFirst = true;
|
|
|
- }
|
|
|
-
|
|
|
return ret1;
|
|
|
}
|
|
|
|