Skip to content

Commit 28b2928

Browse files
committed
improved:get send report time
1 parent 9fdb7ab commit 28b2928

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

XEngine_Source/XEngine_Depend

Submodule XEngine_Depend updated 30 files

XEngine_Source/XEngine_StorageApp/XEngine_StorageApp.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,9 @@ int main(int argc, char** argv)
575575
//发送信息报告
576576
if (st_ServiceCfg.st_XReport.bEnable && !bIsTest)
577577
{
578-
if (InfoReport_APIMachine_Send(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName))
578+
__int64x nTimeCount = 0;
579+
if (InfoReport_APIMachine_Send(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName, &nTimeCount))
579580
{
580-
__int64x nTimeCount = 0;
581-
InfoReport_APIMachine_GetTime(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName, &nTimeCount);
582581
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _X("启动服务中,启动信息报告给API服务器:%s 成功,报告次数:%lld"), st_ServiceCfg.st_XReport.tszAPIUrl, nTimeCount);
583582
}
584583
else

0 commit comments

Comments
 (0)