上传用户习惯接口改为字符串列表
This commit is contained in:
parent
cee5217f87
commit
4dcfac6623
|
@ -10,7 +10,7 @@ bool PostCrashInfo(const char* crashFilePath)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PostUserHabits(const std::string& habits)
|
bool PostUserHabits(const std::list<std::string>& habits)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -33,4 +33,4 @@ int CompareVersion(const std::string& version1, const std::string& version2)
|
||||||
bool HttpDownload(const char* url, const char* saveFilePath, HttpDownloadFunc func, void* param)
|
bool HttpDownload(const char* url, const char* saveFilePath, HttpDownloadFunc func, void* param)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ bool GetServerConfig(ServerConfig &cfg);
|
||||||
bool PostCrashInfo(const char* crashFilePath);
|
bool PostCrashInfo(const char* crashFilePath);
|
||||||
|
|
||||||
// 上传用户使用习惯
|
// 上传用户使用习惯
|
||||||
bool PostUserHabits(const std::string& habits);
|
bool PostUserHabits(const std::list<std::string>& habits);
|
||||||
|
|
||||||
// 获取当前版本号
|
// 获取当前版本号
|
||||||
std::string GetCurrVersion();
|
std::string GetCurrVersion();
|
||||||
|
@ -48,4 +48,4 @@ int CompareVersion(const std::string& version1, const std::string& version2);
|
||||||
// 下载HTTP文件
|
// 下载HTTP文件
|
||||||
bool HttpDownload(const char* url, const char* saveFilePath, HttpDownloadFunc func, void *param);
|
bool HttpDownload(const char* url, const char* saveFilePath, HttpDownloadFunc func, void *param);
|
||||||
|
|
||||||
#endif /* __HGVERSION_H__ */
|
#endif /* __HGVERSION_H__ */
|
||||||
|
|
Loading…
Reference in New Issue