上传用户习惯接口改为字符串列表

This commit is contained in:
luoliangyi 2022-06-30 08:58:37 +08:00
parent cee5217f87
commit 4dcfac6623
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ bool PostCrashInfo(const char* crashFilePath)
return false;
}
bool PostUserHabits(const std::string& habits)
bool PostUserHabits(const std::list<std::string>& habits)
{
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)
{
return false;
}
}

View File

@ -34,7 +34,7 @@ bool GetServerConfig(ServerConfig &cfg);
bool PostCrashInfo(const char* crashFilePath);
// 上传用户使用习惯
bool PostUserHabits(const std::string& habits);
bool PostUserHabits(const std::list<std::string>& habits);
// 获取当前版本号
std::string GetCurrVersion();
@ -48,4 +48,4 @@ int CompareVersion(const std::string& version1, const std::string& version2);
// 下载HTTP文件
bool HttpDownload(const char* url, const char* saveFilePath, HttpDownloadFunc func, void *param);
#endif /* __HGVERSION_H__ */
#endif /* __HGVERSION_H__ */